mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
Merge pull request #12119 from josegonzalez/patch-1
docs: add an example for using the upgrade command with existing values
This commit is contained in:
commit
db6a77edf0
1 changed files with 7 additions and 0 deletions
|
|
@ -65,6 +65,13 @@ last (right-most) set specified. For example, if both 'bar' and 'newbar' values
|
|||
set for a key called 'foo', the 'newbar' value would take precedence:
|
||||
|
||||
$ helm upgrade --set foo=bar --set foo=newbar redis ./redis
|
||||
|
||||
You can update the values for an existing release with this command as well via the
|
||||
'--reuse-values' flag. The 'RELEASE' and 'CHART' arguments should be set to the original
|
||||
parameters, and existing values will be merged with any values set via '--values'/'-f'
|
||||
or '--set' flags. Priority is given to new values.
|
||||
|
||||
$ helm upgrade --reuse-values --set foo=bar --set foo=newbar redis ./redis
|
||||
`
|
||||
|
||||
func newUpgradeCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
|
||||
|
|
|
|||
Loading…
Reference in a new issue