Formatting changes to cert-manager doc

This commit is contained in:
Catherine Luse
2020-01-16 14:56:19 -07:00
committed by Catherine Luse
parent 931a039321
commit 51ee2183da
@@ -80,32 +80,32 @@ This section describes how to upgrade normal (Internet-connected) or air gap ins
{{% tabs %}} {{% tabs %}}
{{% tab "HA Upgrade" %}} {{% tab "HA Upgrade" %}}
1. Get the values, that were passed with `--set`, from the current Rancher helm chart installed. Get the values, which were passed with `--set`, from the current Rancher Helm chart that is installed.
``` ```
helm get values rancher helm get values rancher
hostname: rancher.my.org hostname: rancher.my.org
``` ```
> **Note:** There will be more values that are listed with this command. This is just an example of one of the values. > **Note:** There will be more values that are listed with this command. This is just an example of one of the values.
> **Note:** If you are also upgrading cert-manager to the latest version from a version older than 0.11.0, please follow Option B: Reinstalling Rancher, otherwise follow Option A: Upgrading Rancher If you are also upgrading cert-manager to the latest version from a version older than 0.11.0, follow Option B: Reinstalling Rancher. Otherwise, follow Option A: Upgrading Rancher.
{{% accordion id="secret" label="Option A: Upgrading Rancher" %}} {{% accordion label="Option A: Upgrading Rancher" %}}
1. Upgrade Rancher to the latest version with all your settings. Upgrade Rancher to the latest version with all your settings.
- Take all the values from the previous step and append them to the command using `--set key=value`. Take all the values from the previous step and append them to the command using `--set key=value`:
``` ```
helm upgrade rancher rancher-<CHART_REPO>/rancher \ helm upgrade rancher rancher-<CHART_REPO>/rancher \
--set hostname=rancher.my.org # Note: There will be many more options from the previous step that need to be appended. --set hostname=rancher.my.org # Note: There will be many more options from the previous step that need to be appended.
``` ```
{{% /accordion %}} {{% /accordion %}}
{{% accordion id="secret" label="Option B: Reinstalling Rancher chart" %}} {{% accordion label="Option B: Reinstalling Rancher chart" %}}
1. Uninstall Rancher 1. Uninstall Rancher
@@ -113,9 +113,7 @@ This section describes how to upgrade normal (Internet-connected) or air gap ins
helm delete rancher -n cattle-system helm delete rancher -n cattle-system
``` ```
2. Reinstall Rancher to the latest version with all your settings. 2. Reinstall Rancher to the latest version with all your settings. Take all the values from the previous step and append them to the command using `--set key=value`.
- Take all the values from the previous step and append them to the command using `--set key=value`.
``` ```
helm install rancher rancher-<CHART_REPO>/rancher \ helm install rancher rancher-<CHART_REPO>/rancher \