zuul-operator/zuul_operator/templates/cert-authority.yaml
Tristan Cacqueray 8c6ad5f431 Update CRD apiVersion to v1 (from v1beta)
This change enables installing the zuul-operator on a recent cluster,
where CRD are no longer beta:

- Update apiVersion in the CRD
- Update cert-manager to v1.8.2
- Update pxc to v1.10.0
- Add openAPIV3Schema to zuul crd (from https://review.opendev.org/c/zuul/zuul-operator/+/800302)

Change-Id: I12ac02d609ea6a2806c734ca00023e4d1059af37
2022-06-30 18:45:23 +00:00

38 lines
688 B
YAML

---
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: selfsigned-issuer
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: ca-cert
spec:
# Secret names are always required.
secretName: ca-cert
duration: 87600h # 10y
renewBefore: 360h # 15d
isCA: true
privateKey:
size: 2048
algorithm: RSA
encoding: PKCS1
commonName: cacert
# At least one of a DNS Name, URI, or IP address is required.
dnsNames:
- caroot
# Issuer references are always required.
issuerRef:
name: selfsigned-issuer
---
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: ca-issuer
spec:
ca:
secretName: ca-cert