Qualify letsencrypt api version

Otherwise getting

    error: unable to recognize "./letsencrypt-issuer.yaml": no matches for kind "Issuer" in version "v1alpha2"
This commit is contained in:
Carlos Sanchez 2019-01-07 14:31:39 +01:00
parent 41f0ba0247
commit cc2860a49f
1 changed files with 2 additions and 2 deletions

View File

@ -338,7 +338,7 @@ Create a letsencrypt issuer for CloudDNS \(replace `email@example.com` with a va
`my-gcp-project`with your project ID\):
```yaml
apiVersion: v1alpha2
apiVersion: certmanager.k8s.io/v1alpha1
kind: Issuer
metadata:
name: letsencrypt-prod
@ -368,7 +368,7 @@ kubectl apply -f ./letsencrypt-issuer.yaml
Create a wildcard certificate \(replace `example.com` with your domain\):
```yaml
apiVersion: v1alpha2
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
name: istio-gateway