Skip to content

Commit

Permalink
docs: Clarify use of --set-file
Browse files Browse the repository at this point in the history
and fix non-idiomatic English.

replaces helm/helm-www#1239

Signed-off-by: David Xia <dxia@spotify.com>
  • Loading branch information
davidxia committed Dec 2, 2021
1 parent 5d47255 commit 13d8614
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cmd/helm/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ a path to an unpacked chart directory or a URL.
To override values in a chart, use either the '--values' flag and pass in a file
or use the '--set' flag and pass configuration from the command line, to force
a string value use '--set-string'. In case a value is large and therefore
you want not to use neither '--values' nor '--set', use '--set-file' to read the
single large value from file.
a string value use '--set-string'. You can use '--set-file' to set individual
values from a file when the value itself is too long for the command line
or is dynamically generated.
$ helm install -f myvalues.yaml myredis ./redis
Expand Down
6 changes: 3 additions & 3 deletions cmd/helm/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ version will be specified unless the '--version' flag is set.
To override values in a chart, use either the '--values' flag and pass in a file
or use the '--set' flag and pass configuration from the command line, to force string
values, use '--set-string'. In case a value is large and therefore
you want not to use neither '--values' nor '--set', use '--set-file' to read the
single large value from file.
values, use '--set-string'. You can use '--set-file' to set individual
values from a file when the value itself is too long for the command line
or is dynamically generated.
You can specify the '--values'/'-f' flag multiple times. The priority will be given to the
last (right-most) file specified. For example, if both myvalues.yaml and override.yaml
Expand Down

0 comments on commit 13d8614

Please sign in to comment.