Update cert-manager API ver to v1
# Create a selfsigned Issuer, in order to create a root CA certificate for
# signing webhook serving certificates
-apiVersion: cert-manager.io/v1alpha3
+apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: webhook-selfsign
@@ -9,7 +9,7 @@ spec:
selfSigned: {}
---
# Generate a CA Certificate used to sign certificates for the webhook
-apiVersion: cert-manager.io/v1alpha3
+apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: webhook-ca
@@ -27,7 +27,7 @@ spec:
- cert sign
---
# Create an Issuer that uses the above generated CA certificate to issue certs
-apiVersion: cert-manager.io/v1alpha3
+apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: webhook-ca
@@ -37,7 +37,7 @@ spec:
secretName: webhook-ca
---
# Finally, generate a serving certificate for the webhook to use
-apiVersion: cert-manager.io/v1alpha3
+apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: mutatingwebhook
