try cloudflare ClusterIssuer

This commit is contained in:
Mans Ziesel 2024-10-14 19:43:01 +02:00
parent b9172e6af9
commit de49584cc6
2 changed files with 22 additions and 2 deletions

View File

@ -5,9 +5,29 @@ metadata:
name: cloudflare-issuer
spec:
acme:
server: https://acme-staging-v02.api.letsencrypt.org/directory
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:
- dns01:
# 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:
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

View File

@ -6,7 +6,7 @@ metadata:
spec:
secretName: whoami.mziesel.nl-secret
issuerRef:
name: mziesel-ca-issuer
name: cloudflare-issuer
kind: ClusterIssuer
dnsNames:
- whoami.mziesel.nl