New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a note about --dry-run displaying secrets #12859
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small suggestion to refine the verbiage. If approved, please be sure to update the wording in both install.go
and upgrade.go
files
cmd/helm/install.go
Outdated
the '--debug' and '--dry-run' flags can be combined. | ||
the --debug and --dry-run flags can be combined. | ||
|
||
The --dry-run flag will output all generated chart manifests, including Secrets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The --dry-run flag will output all generated chart manifests, including Secrets. | |
The --dry-run flag will output all generated chart manifests, including Secrets, which can contain sensitive values. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because these secrets are chart/template generated they may be plain text. This is before they are sent to Kubernetes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update Updated proposed changes
cmd/helm/install.go
Outdated
the --debug and --dry-run flags can be combined. | ||
|
||
The --dry-run flag will output all generated chart manifests, including Secrets. | ||
Please carefully consider the environment it is used in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please carefully consider the environment it is used in. | |
Please carefully consider how and when these arguments are used. |
Signed-off-by: Matt Farina <matt.farina@suse.com>
92182f6
to
a23dd9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Note, this documentation is converted into mardown and placed on helm.sh. |
What this PR does / why we need it: It adds a message to the install and upgrade help output about
--dry-run
and what it outputs. That includes secrets.Special notes for your reviewer: N/A
If applicable: