argocd-test/cert-manager/base/mziesel-ca.yaml

32 lines
561 B
YAML
Raw Normal View History

2024-10-13 17:00:11 +00:00
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: mziesel-root-ca-issuer
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: mziesel-ca
spec:
isCA: true
commonName: mziesel-ca
secretName: mziesel-root-secret
privateKey:
algorithm: ECDSA
size: 256
issuerRef:
name: mziesel-root-ca-issuer
kind: ClusterIssuer
group: cert-manager.io
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: mziesel-ca-issuer
spec:
ca:
secretName: mziesel-root-secret