Port rancher/docs#4208: Update to latest version and remove v in --version=v.X.Y.Z

This commit is contained in:
Billy Tat
2022-09-20 14:42:41 -07:00
parent c9458f36e6
commit c601f9a525
2 changed files with 4 additions and 4 deletions
@@ -104,7 +104,7 @@ You'll use the backup as a restore point if something goes wrong during upgrade.
You can fetch the chart for the specific version you are upgrading to by adding in the `--version=` tag. For example:
```plain
helm fetch rancher-<CHART_REPO>/rancher --version=v2.4.11
helm fetch rancher-<CHART_REPO>/rancher --version=2.6.8
```
### 3. Upgrade Rancher
@@ -161,7 +161,7 @@ helm get values rancher -n cattle-system -o yaml > values.yaml
helm upgrade rancher rancher-<CHART_REPO>/rancher \
--namespace cattle-system \
-f values.yaml \
--version=2.4.5
--version=2.6.8
```
### 4. Verify the Upgrade
@@ -126,7 +126,7 @@ You'll use the backup as a restoration point if something goes wrong during upgr
You can fetch the chart for the specific version you are upgrading to by adding in the `--version=` tag. For example:
```plain
helm fetch rancher-<CHART_REPO>/rancher --version=v2.4.11
helm fetch rancher-<CHART_REPO>/rancher --version=2.5.16
```
# 3. Upgrade Rancher
@@ -172,7 +172,7 @@ helm get values rancher -n cattle-system -o yaml > values.yaml
helm upgrade rancher rancher-<CHART_REPO>/rancher \
--namespace cattle-system \
-f values.yaml \
--version=2.4.5
--version=2.5.16
```
### Option B: Reinstalling Rancher and cert-manager