add cloudflare ClusterIssuer to cert-manager

This commit is contained in:
Mans Ziesel 2024-10-14 19:34:16 +02:00
parent 3ba5c8b0df
commit 1d0d1ed0d7
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,13 @@
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: cloudflare-issuer
spec:
acme:
solvers:
- dns01:
cloudflare:
apiTokenSecretRef:
name: cloudflare-api-token-secret
key: api-token

View File

@ -28,3 +28,4 @@ metadata:
spec:
ca:
secretName: mziesel-root-secret

View File

@ -6,3 +6,5 @@ namespace: cert-manager
resources:
- https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml
- ./base/mziesel-ca.yaml
- ./secret_nocommit/cloudflare-api-token-secret.yaml
- ./base/cloudflare-clusterissuer.yaml