From 20cdeb1b73a67221fe6575c7dbff1935d4dd50fe Mon Sep 17 00:00:00 2001 From: George Wilson Date: Tue, 22 Sep 2020 09:44:30 +0100 Subject: [PATCH] Revert back CRD settings --- .../air-gap/install-rancher/_index.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/content/rancher/v2.x/en/installation/other-installation-methods/air-gap/install-rancher/_index.md b/content/rancher/v2.x/en/installation/other-installation-methods/air-gap/install-rancher/_index.md index c95159ca386..3c77f17f536 100644 --- a/content/rancher/v2.x/en/installation/other-installation-methods/air-gap/install-rancher/_index.md +++ b/content/rancher/v2.x/en/installation/other-installation-methods/air-gap/install-rancher/_index.md @@ -184,14 +184,18 @@ If you are using self-signed certificates, install cert-manager: kubectl create namespace cert-manager ``` -1. Launch cert-manager. +1. Create the cert-manager CustomResourceDefinitions (CRDs). ```plain -kubectl apply -R -f ./cert-manager +kubectl apply -f cert-manager/cert-manager-crd.yaml ``` > **Note:** > If you are running Kubernetes v1.15 or below, you will need to add the `--validate=false` flag to your `kubectl apply` command above, or else you will receive a validation error relating to the `x-kubernetes-preserve-unknown-fields` field in cert-manager’s CustomResourceDefinition resources. This is a benign error and occurs due to the way kubectl performs resource validation. +1. Launch cert-manager. +```plain +kubectl apply -R -f ./cert-manager +``` {{% /accordion %}}