.TH"HELM""1""May 2017""Auto generated by spf13/cobra"""
.TH"HELM""1""Aug 2018""Auto generated by spf13/cobra"""""
.nh
.adl
.SHNAME
.SHNAME
@ -15,22 +13,32 @@ helm\-upgrade \- upgrade a release
.SHDESCRIPTION
.SHDESCRIPTION
.PP
.PP
This command upgrades a release to a new version of a chart.
This command upgrades a release to a specified version of a chart
and/or updates chart values.
.PP
.PP
The upgrade arguments must be a release and chart. The chart
Required arguments are release and chart. The chart argument can be one of:
argument can be either: a chart reference('stable/mariadb'), a path to a chart directory,
\- a chart reference('stable/mariadb'); use '\-\-version' and '\-\-devel' flags for versions other than latest,
a packaged chart, or a fully qualified URL. For chart references, the latest
\- a path to a chart directory,
version will be specified unless the '\-\-version' flag is set.
\- a packaged chart,
\- a fully qualified URL.
.PP
.PP
To override values in a chart, use either the '\-\-values' flag and pass in a file
To customize the chart values use any of
or use the '\-\-set' flag and pass configuration from the command line.
\- '\-\-values'/'\-f' to pass in a yaml file holding settings,
\- '\-\-set' to provide one or more key=val pairs directly,
\- '\-\-set\-string' to provide key=val forcing val to be stored as a string,
\- '\-\-set\-file' to provide key=path to read a single large value from a file at path.
.PP
.PP
You can specify the '\-\-values'/'\-f' flag multiple times. The priority will be given to the
To edit or append to the existing customized values add the
last (right\-most) file specified. For example, if both myvalues.yaml and override.yaml
'\-\-reuse\-values' flag, otherwise any existing customized values are ignored.
contained a key called 'Test', the value set in override.yaml would take precedence:
.PP
If no chart value arguments are provided on the command line, any existing customized values are carried forward. To revert to use only values provided in the chart, use the '\-\-reset\-values' flag.
.PP
You can specify any of the chart value flags multiple times. The priority will be given to the last (right\-most) value specified. For example, if both myvalues.yaml and override.yaml contained a key called 'Test', the value set in override.yaml would take precedence:
which sets the top level key mybool to true, the nested timeoutSeconds to 10 and two array values respectively.
.PP
Note that the value side of the key=val provided to '\-\-set' and '\-\-set\-string' flags will pass through shell evaluation followed by yaml type parsing to produce the final value. This may alter inputs with special characters in unexpected ways, for example
results in "pwd: 3jk" and "z: f30.e". Use single quotes to avoid shell evaulation and argument delimiters, and use backslash to escape yaml special characters:
which results in the expected "pwd: 3jk$o2z=f\\30.e". If a single quote occurs in your value then follow your shell convention for escaping it; for example in bash:
when upgrading, reuse the last release's values, and merge in any new values. If '\-\-reset\-values' is specified, this is ignored.
when upgrading, reuse the last release's values and merge in any overrides from the command line via \-\-set and \-f. If '\-\-reset\-values' is specified, this is ignored.
.PP
.PP
\fB\-\-set\fP=[]
\fB\-\-set\fP=[]
set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
.PP
\fB\-\-set\-file\fP=[]
set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
.PP
\fB\-\-set\-string\fP=[]
set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
.PP
.PP
\fB\-\-timeout\fP=300
\fB\-\-timeout\fP=300
time in seconds to wait for any individual kubernetes operation (like Jobs for hooks)
time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks)