Skip to content

Commit 8beae8a

Browse files
authored
Update Certificate and Issuer to v1
Cert-manager 1.7 removes support for prerelease CR versions, which were deprecated in CM 1.4. This PR updates the `apiVersion` to `v1` with no other changes. I have verified using `cmctl convert` that this results in a valid manifest.
1 parent 0ba76c7 commit 8beae8a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

config/certmanager/certificate.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
# The following manifests contain a self-signed issuer CR and a certificate CR.
22
# More document can be found at https://docs.cert-manager.io
3-
# WARNING: Targets CertManager 0.11 check https://docs.cert-manager.io/en/latest/tasks/upgrading/index.html for
4-
# breaking changes
5-
apiVersion: cert-manager.io/v1alpha2
3+
apiVersion: cert-manager.io/v1
64
kind: Issuer
75
metadata:
86
name: selfsigned-issuer
97
namespace: system
108
spec:
119
selfSigned: {}
1210
---
13-
apiVersion: cert-manager.io/v1alpha2
11+
apiVersion: cert-manager.io/v1
1412
kind: Certificate
1513
metadata:
1614
name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml

0 commit comments

Comments
 (0)