Skip to content
Snippets Groups Projects
Commit e7a0c472 authored by irbekrm's avatar irbekrm
Browse files

Bump cert-manager API version v1alpha2 -> v1 in example configs


Signed-off-by: default avatarirbekrm <irbekrm@gmail.com>
parent 778745db
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ sign the certificate requests. ...@@ -9,7 +9,7 @@ sign the certificate requests.
In this guide, we assume that you have a [Kubernetes](https://kubernetes.io/) In this guide, we assume that you have a [Kubernetes](https://kubernetes.io/)
environment with a [cert-manager](https://github.com/jetstack/cert-manager) 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 ### Installing step certificates
...@@ -299,7 +299,7 @@ as the root certificate will be available in the resource: ...@@ -299,7 +299,7 @@ as the root certificate will be available in the resource:
```sh ```sh
$ kubectl get certificaterequests.cert-manager.io internal-smallstep-com -o yaml $ kubectl get certificaterequests.cert-manager.io internal-smallstep-com -o yaml
apiVersion: cert-manager.io/v1alpha2 apiVersion: cert-manager.io/v1
kind: CertificateRequest kind: CertificateRequest
... ...
status: status:
......
# The following manifests contain a self-signed issuer CR and a certificate CR. # The following manifests contain a self-signed issuer CR and a certificate CR.
# More document can be found at https://docs.cert-manager.io # More document can be found at https://docs.cert-manager.io
apiVersion: cert-manager.io/v1alpha2 apiVersion: cert-manager.io/v1
kind: Issuer kind: Issuer
metadata: metadata:
name: selfsigned-issuer name: selfsigned-issuer
...@@ -8,7 +8,7 @@ metadata: ...@@ -8,7 +8,7 @@ metadata:
spec: spec:
selfSigned: {} selfSigned: {}
--- ---
apiVersion: cert-manager.io/v1alpha2 apiVersion: cert-manager.io/v1
kind: Certificate kind: Certificate
metadata: metadata:
name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml
......
...@@ -52,7 +52,7 @@ vars: ...@@ -52,7 +52,7 @@ vars:
# objref: # objref:
# kind: Certificate # kind: Certificate
# group: cert-manager.io # group: cert-manager.io
# version: v1alpha2 # version: v1
# name: serving-cert # this name should match the one in certificate.yaml # name: serving-cert # this name should match the one in certificate.yaml
# fieldref: # fieldref:
# fieldpath: metadata.namespace # fieldpath: metadata.namespace
...@@ -60,7 +60,7 @@ vars: ...@@ -60,7 +60,7 @@ vars:
# objref: # objref:
# kind: Certificate # kind: Certificate
# group: cert-manager.io # group: cert-manager.io
# version: v1alpha2 # version: v1
# name: serving-cert # this name should match the one in certificate.yaml # name: serving-cert # this name should match the one in certificate.yaml
#- name: SERVICE_NAMESPACE # namespace of the service #- name: SERVICE_NAMESPACE # namespace of the service
# objref: # objref:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment