Helm upgrade: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 24: Line 24:
==<tt>--reuse-values</tt>==
==<tt>--reuse-values</tt>==
When upgrading, reuse the last release's values and merge in any overrides from the command line via <code>--set</code> and <code>-f</code>. If <code>[[#--reset-values|--reset-values]]</code> is specified, this is ignored.
When upgrading, reuse the last release's values and merge in any overrides from the command line via <code>--set</code> and <code>-f</code>. If <code>[[#--reset-values|--reset-values]]</code> is specified, this is ignored.
This is useful when the initial deployment was done with a configuration overlay, and we don't want to specify the same configuration overlay on upgrade.
==<tt>--reset-values</tt>==
==<tt>--reset-values</tt>==
See  <code>[[#--reuse-values|--reuse-values]]</code> above.
See  <code>[[#--reuse-values|--reuse-values]]</code> above.

Latest revision as of 19:57, 9 February 2022

External

Internal

Overview

helm upgrade <release-name> <chart-name>
helm upgrade jazzy-manta archaeopteryx

Upgrade increments the revision number.

To keep a resource from being uninstalled during an upgrade, see helm uninstall - Keep a Resource from Being Uninstalled.

Options

--reuse-values

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.

This is useful when the initial deployment was done with a configuration overlay, and we don't want to specify the same configuration overlay on upgrade.

--reset-values

See --reuse-values above.