Merge pull request #2422 from catherineluse/cert-manager

Edit docs about cert-manager
This commit is contained in:
Catherine Luse
2020-04-02 14:08:38 -07:00
committed by GitHub
2 changed files with 5 additions and 8 deletions
@@ -25,10 +25,7 @@ To address these changes, this guide will do two things:
> For reinstalling Rancher with Helm, please check [Option B: Reinstalling Rancher Chart]({{<baseurl>}}/rancher/v2.x/en/upgrades/upgrades/ha/#c-upgrade-rancher) under the upgrade Rancher section.
## Upgrade Cert-Manager Only
> **Note:**
> These instructions are applied if you have no plan to upgrade Rancher.
## Upgrade Cert-Manager
The namespace used in these instructions depends on the namespace cert-manager is currently installed in. If it is in kube-system use that in the instructions below. You can verify by running `kubectl get pods --all-namespaces` and checking which namespace the cert-manager-\* pods are listed in. Do not change the namespace cert-manager is running in or this can cause issues.
@@ -87,7 +87,7 @@ 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.
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`.
If you are also upgrading cert-manager to the latest version from a version older than 0.11.0, follow `Option B: Reinstalling Rancher and cert-manager`. Otherwise, follow `Option A: Upgrading Rancher`.
{{% accordion label="Option A: Upgrading Rancher" %}}
@@ -105,12 +105,10 @@ helm upgrade rancher rancher-<CHART_REPO>/rancher \
{{% /accordion %}}
{{% accordion label="Option B: Reinstalling Rancher chart" %}}
{{% accordion label="Option B: Reinstalling Rancher and cert-manager" %}}
If you are currently running the cert-manger whose version is older than v0.11, and want to upgrade both Rancher and cert-manager to a newer version, then you need to reinstall both Rancher and cert-manger due to the API change in cert-manger v0.11.
Please refer the [Upgrading Cert-Manager]({{<baseurl>}}/rancher/v2.x/en/installation/options/upgrading-cert-manager) page for more information.
1. Uninstall Rancher
```
@@ -125,6 +123,8 @@ Please refer the [Upgrading Cert-Manager]({{<baseurl>}}/rancher/v2.x/en/installa
--set hostname=rancher.my.org
```
3. Uninstall and reinstall `cert-manager` according to the instructions on the [Upgrading Cert-Manager]({{<baseurl>}}/rancher/v2.x/en/installation/options/upgrading-cert-manager) page.
{{% /accordion %}}
{{% /tab %}}