argocd-test/cert-manager/base/cloudflare-clusterissuer.yaml

35 lines
992 B
YAML
Raw Permalink Normal View History

---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: cloudflare-issuer
spec:
acme:
#server: https://acme-staging-v02.api.letsencrypt.org/directory
server: https://acme-v02.api.letsencrypt.org/directory
2024-10-14 17:43:01 +00:00
email: abuse@mziesel.com
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-staging-acme-key
# ACME DNS-01 provider configurations
solvers:
2024-10-14 17:43:01 +00:00
# An empty 'selector' means that this solver matches all domains
- selector: {}
# dnsNames:
# - mziesel.nl
# - *.mziesel.nl
# - mziesel.com
# - *.mziesel.com
# - mzsl.nl
# - *.mzsl.nl
dns01:
cloudflare:
2024-10-14 17:43:01 +00:00
email: mziesel@outlook.com
# !! Remember to create a k8s secret before
# kubectl create secret generic cloudflare-api-key-secret
apiTokenSecretRef:
name: cloudflare-api-token-secret
key: api-token