mirror of https://github.com/knative/docs.git
cert manager installation steps changes (#2239)
* cert manager installation changes * change cert manager installation steps
This commit is contained in:
parent
6e7b85816c
commit
d7ff017ec1
|
@ -34,42 +34,9 @@ You must meet the following requirements to install cert-manager for Knative:
|
||||||
Use the following steps to download, install, and configure cert-manager for
|
Use the following steps to download, install, and configure cert-manager for
|
||||||
your Knative cluster environment:
|
your Knative cluster environment:
|
||||||
|
|
||||||
1. Run the following commands to download and extract the `cert-manager`
|
1. Follow the steps in the official `cert-manager` website to download and install cert-manager
|
||||||
installation package:
|
|
||||||
|
|
||||||
```shell
|
[Installation steps](https://cert-manager.io/docs/installation/kubernetes/)
|
||||||
CERT_MANAGER_VERSION=0.6.1
|
|
||||||
DOWNLOAD_URL=https://github.com/jetstack/cert-manager/archive/v${CERT_MANAGER_VERSION}.tar.gz
|
|
||||||
|
|
||||||
wget $DOWNLOAD_URL
|
|
||||||
tar xzf v${CERT_MANAGER_VERSION}.tar.gz
|
|
||||||
|
|
||||||
cd cert-manager-${CERT_MANAGER_VERSION}
|
|
||||||
```
|
|
||||||
|
|
||||||
1. Run the following commands to install cert-manager:
|
|
||||||
|
|
||||||
1. Install the cert-manager CRDs:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
kubectl apply -f deploy/manifests/00-crds.yaml
|
|
||||||
```
|
|
||||||
|
|
||||||
1. Run one of the following commands to install the cert-manager plugin:
|
|
||||||
|
|
||||||
- For Knative clusters running Kubernetes version 1.13 or above:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
# If you are running cluster version 1.13 or above
|
|
||||||
kubectl apply -f deploy/manifests/cert-manager.yaml
|
|
||||||
```
|
|
||||||
|
|
||||||
- For Knative clusters running Kubernetes version 1.12 or below:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
# If you are running cluster version 1.12 or below, you must append the --validate=false flag
|
|
||||||
kubectl apply -f deploy/manifests/cert-manager.yaml --validate=false
|
|
||||||
```
|
|
||||||
|
|
||||||
1. Configure which DNS provider is used to validate the DNS-01 challenge
|
1. Configure which DNS provider is used to validate the DNS-01 challenge
|
||||||
requests.
|
requests.
|
||||||
|
|
Loading…
Reference in New Issue