Added secret and cluster issuer

This commit is contained in:
2025-12-12 22:43:23 +11:00
parent 037e394ca2
commit 461ecccbb7
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-dns01-cloudflare
spec:
acme:
# Let's Encrypt production endpoint
server: https://acme-v02.api.letsencrypt.org/directory
email: conanscott@gmail.com
privateKeySecretRef:
# cert-manager will create and store the account key here
name: letsencrypt-cloudflare-account-key
solvers:
- dns01:
cloudflare:
# This references a secret with your Cloudflare API token
apiTokenSecretRef:
name: cloudflare-api-token-secret
key: api-token