@@ -8,13 +8,12 @@ helm\-upgrade \- upgrade a release
.SH SYNOPSIS
.PP
\fBhelm upgrade [RELEASE] [CHART]\fP
\fBhelm upgrade [RELEASE] [CHART] [flags]\fP
.SH DESCRIPTION
.PP
This command upgrades a release to a specified version of a chart
and/or updates chart values.
This command upgrades a release to a specified version of a chart and/or updates chart values.
.PP
Required arguments are release and chart. The chart argument can be one of:
...
...
@@ -24,21 +23,24 @@ Required arguments are release and chart. The chart argument can be one of:
\- a fully qualified URL.
.PP
To customize the chart values use any of
To customize the chart values, use any of
\- '\-\-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
To edit or append to the existing customized values add the
To edit or append to the existing customized values, add the
'\-\-reuse\-values' flag, otherwise any existing customized values are ignored.
.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.
If no chart value arguments are provided on the command line, any existing customized values are carried
forward. If you want to revert to just the 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:
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.
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
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:
results in "pwd: 3jk" and "z: f30.e". Use single quotes to avoid shell evaluation 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:
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:
.PP
.RS
...
...
@@ -123,6 +130,10 @@ which results in "pwd: 3jk$o2z=f\\30with'quote".
\fB\-\-force\fP[=false]
force resource update through delete/recreate if needed
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
help for upgrade
.PP
\fB\-i\fP, \fB\-\-install\fP[=false]
if a release by this name doesn't already exist, run an install
...
...
@@ -132,7 +143,7 @@ which results in "pwd: 3jk$o2z=f\\30with'quote".