k3s-cluster/kubernetes/common/apps/cert-manager/certs/files/letsencrypt-prod.yaml

23 lines
631 B
YAML
Raw Permalink Normal View History

2023-04-05 02:42:19 +00:00
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-production
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: "${SECRET_LETSENCRYPT_EMAIL}"
privateKeySecretRef:
name: letsencrypt-production
solvers:
2023-04-10 23:57:41 +00:00
- dns01:
cloudflare:
email: "${SECRET_MY_EMAIL}"
apiTokenSecretRef:
name: cloudflare-credentials
2023-04-10 23:57:41 +00:00
key: api-token
selector:
dnsZones:
- "${SECRET_NEW_DOMAIN}"
- "internal.${SECRET_NEW_DOMAIN}"
- "*.internal.${SECRET_NEW_DOMAIN}"