khuedoan-homelab/system/cert-manager/templates/issuer.yaml
2022-01-01 00:14:27 +07:00

18 lines
436 B
YAML

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: {{ .Values.issuer.email }}
privateKeySecretRef:
name: letsencrypt-prod
solvers:
- dns01:
cloudflare:
email: {{ .Values.issuer.email }}
apiTokenSecretRef:
name: cloudflare-api-token
key: api-token