Merge pull request #10424 from davidxia/patch1

docs: Clarify use of --set-file
pull/10227/merge
Matt Farina 3 years ago committed by GitHub
commit d02f13c1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 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 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 a string value use '--set-string'. You can use '--set-file' to set individual
you want not to use neither '--values' nor '--set', use '--set-file' to read the values from a file when the value itself is too long for the command line
single large value from file. or is dynamically generated.
$ helm install -f myvalues.yaml myredis ./redis $ helm install -f myvalues.yaml myredis ./redis

@ -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 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 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 values, use '--set-string'. You can use '--set-file' to set individual
you want not to use neither '--values' nor '--set', use '--set-file' to read the values from a file when the value itself is too long for the command line
single large value from file. or is dynamically generated.
You can specify the '--values'/'-f' flag multiple times. The priority will be given to the 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 last (right-most) file specified. For example, if both myvalues.yaml and override.yaml

Loading…
Cancel
Save