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 name: cloudflare-issuer
spec: spec:
acme: 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: 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: cloudflare:
email: mziesel@outlook.com
# !! Remember to create a k8s secret before
# kubectl create secret generic cloudflare-api-key-secret
apiTokenSecretRef: apiTokenSecretRef:
name: cloudflare-api-token-secret name: cloudflare-api-token-secret
key: api-token key: api-token

View File

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