Revert back CRD settings

This commit is contained in:
George Wilson
2020-09-22 09:44:30 +01:00
committed by GitHub
parent 568a5377d8
commit 20cdeb1b73
@@ -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-managers 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 %}}