mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 20:48:11 +00:00
Remove --reuse-values
This commit is contained in:
@@ -114,12 +114,14 @@ helm upgrade rancher rancher-<CHART_REPO>/rancher \
|
|||||||
|
|
||||||
> **Note:** The above is an example, there may be more values from the previous step that need to be appended.
|
> **Note:** The above is an example, there may be more values from the previous step that need to be appended.
|
||||||
|
|
||||||
Alternatively, it's possible to reuse current values and make small changes with the `--reuse-values` flag. For example, to only change the Rancher version:
|
Alternatively, it's possible to export the current values to a file and reference that file during upgrade. For example, to only change the Rancher version:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
helm get values rancher -n cattle-system -o yaml > values.yaml
|
||||||
|
|
||||||
helm upgrade rancher rancher-<CHART_REPO>/rancher \
|
helm upgrade rancher rancher-<CHART_REPO>/rancher \
|
||||||
--namespace cattle-system \
|
--namespace cattle-system \
|
||||||
--reuse-values \
|
-f values.yaml \
|
||||||
--version=2.4.5
|
--version=2.4.5
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user