Argo/apps/templates/cert-manager.yaml

45 lines
943 B
YAML
Raw Normal View History

2022-11-30 14:39:07 +01:00
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager
namespace: argo-cd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
server: https://kubernetes.default.svc
namespace: cert-manager
project: default
source:
chart: cert-manager
helm:
values: |
prometheus:
enabled: false
repoURL: https://charts.jetstack.io
targetRevision: 1.10.1
syncPolicy:
automated:
prune: true
2022-11-30 14:48:33 +01:00
selfHeal: true
2022-11-30 14:53:05 +01:00
---
apiVersion: cert-manager.io/v1
2022-11-30 14:57:45 +01:00
kind: ClusterIssuer
2022-11-30 14:53:05 +01:00
metadata:
2022-11-30 14:54:45 +01:00
name: roxedus.com-cloudflare
2022-11-30 14:53:05 +01:00
namespace: cert-manager
spec:
acme:
server: https://acme-staging-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: cloudflare-issuer-account-key
solvers:
- dns01:
cloudflare:
apiTokenSecretRef:
name: cloudflare-api-token-secret
key: CLOUDFLARE_API_KEY