From a220a4f3b5edc850bc11eb571da3298ea906c01a Mon Sep 17 00:00:00 2001 From: Jennifer Travinski Date: Tue, 24 Aug 2021 13:57:24 -0400 Subject: [PATCH] Updated cert mgr Helm chart code 2.6 --- .../en/installation/install-rancher-on-k8s/_index.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/content/rancher/v2.6/en/installation/install-rancher-on-k8s/_index.md b/content/rancher/v2.6/en/installation/install-rancher-on-k8s/_index.md index 2b54b3949a2..9f38a93f5b9 100644 --- a/content/rancher/v2.6/en/installation/install-rancher-on-k8s/_index.md +++ b/content/rancher/v2.6/en/installation/install-rancher-on-k8s/_index.md @@ -135,9 +135,6 @@ kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/relea # This is a benign error and occurs due to the way kubectl # performs resource validation. -# Create the namespace for cert-manager -kubectl create namespace cert-manager - # Add the Jetstack Helm repository helm repo add jetstack https://charts.jetstack.io @@ -145,10 +142,11 @@ helm repo add jetstack https://charts.jetstack.io helm repo update # Install the cert-manager Helm chart -helm install \ - cert-manager jetstack/cert-manager \ +helm install cert-manager jetstack/cert-manager \ --namespace cert-manager \ - --version v1.5.1 + --create-namespace \ + --version v1.5.1 \ + --set installCRDs=true ``` Once you’ve installed cert-manager, you can verify it is deployed correctly by checking the cert-manager namespace for running pods: