diff --git a/README.md b/README.md index 30351dceb24b18c6e80df4951fc7d7ff16aa2d7f..a22d0e48409bbfc9ef5ef18772d8cedf0c957b4e 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ sign the certificate requests. In this guide, we assume that you have a [Kubernetes](https://kubernetes.io/) environment with a [cert-manager](https://github.com/jetstack/cert-manager) -version supporting CertificateRequest issuers, cert-manager v0.11.0 or higher. +version supporting CertificateRequest issuers, cert-manager `v1.0.0` or higher. ### Installing step certificates @@ -299,7 +299,7 @@ as the root certificate will be available in the resource: ```sh $ kubectl get certificaterequests.cert-manager.io internal-smallstep-com -o yaml -apiVersion: cert-manager.io/v1alpha2 +apiVersion: cert-manager.io/v1 kind: CertificateRequest ... status: diff --git a/config/certmanager/certificate.yaml b/config/certmanager/certificate.yaml index 82dfb534229ce3aa1d3cd8b91cfbb40e651ae4fd..46eb831e9fec4a564ffab19aac512357c0ea16a6 100644 --- a/config/certmanager/certificate.yaml +++ b/config/certmanager/certificate.yaml @@ -1,6 +1,6 @@ # The following manifests contain a self-signed issuer CR and a certificate CR. # More document can be found at https://docs.cert-manager.io -apiVersion: cert-manager.io/v1alpha2 +apiVersion: cert-manager.io/v1 kind: Issuer metadata: name: selfsigned-issuer @@ -8,7 +8,7 @@ metadata: spec: selfSigned: {} --- -apiVersion: cert-manager.io/v1alpha2 +apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index cb1819db4667ac929beb81887c214886efa70ea4..f7505961616966456023f5321e8164fdb36dcb27 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -52,7 +52,7 @@ vars: # objref: # kind: Certificate # group: cert-manager.io -# version: v1alpha2 +# version: v1 # name: serving-cert # this name should match the one in certificate.yaml # fieldref: # fieldpath: metadata.namespace @@ -60,7 +60,7 @@ vars: # objref: # kind: Certificate # group: cert-manager.io -# version: v1alpha2 +# version: v1 # name: serving-cert # this name should match the one in certificate.yaml #- name: SERVICE_NAMESPACE # namespace of the service # objref: