Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/intro/CheatSheet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ helm status <release> --revision <number> # if set, display the status of the
helm history <release> # Historical revisions for a given release.
helm history <release> --show-rollback-revision # Add a ROLLBACK column showing which revision each rollback targeted
helm env # Env prints out all the environment information in use by Helm.
helm env -o json # Prints the environment information in the specified format. Allowed values: env, json, yaml (default env)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the helm env -o json cheat-sheet line because PR #32282 adds an --output/-o flag to helm env in pkg/cmd/env.go accepting env (default), json, and yaml. The allowed values and default (env) come directly from the flag's envFormats() and envFormatKeyValue default in that diff.

Source: helm/helm#32282

helm env HELM_BIN # Print the value of a single environment variable
```
-------------------------------------------------------------------------------------------------------------------------------------------------
### Download Release Information
Expand Down
Loading