Files
homelab/k8s/core/cert-manager/self-signed.yaml
ab 77c2dd5ffb
All checks were successful
Check with kubeconform / lint (push) Successful in 12s
Update k8s/core/cert-manager/self-signed.yaml
2025-05-14 14:29:49 +00:00

31 lines
486 B
YAML

---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: selfsigned
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: hexor-ca-root
spec:
isCA: true
duration: 87600h # 10y
commonName: hexor-ca
secretName: hexor-ca-root-secret
issuerRef:
name: selfsigned
kind: ClusterIssuer
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: hexor-lab
spec:
ca:
secretName: hexor-ca-root-secret