1
0
Fork 0

feat(apps): add external-dns app

This commit is contained in:
Vojtěch Mareš 2024-10-14 14:53:11 +02:00
parent 37e63f2de5
commit 33dba127df
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -0,0 +1,39 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: external-dns
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-999"
spec:
project: system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
destination:
server: "https://kubernetes.default.svc"
namespace: external-dns
source:
chart: external-dns
repoURL: https://kubernetes-sigs.github.io/external-dns/
targetRevision: 1.15.0
helm:
releaseName: external-dns
valuesObject:
provider:
name: cloudflare
env:
- name: CF_API_TOKEN
valueFrom:
secretKeyRef:
name: cloudflare-api-token
key: token
extraArgs:
- --cloudflare-dns-records-per-page=1000
txtOwnerId: cthulhu
txtPrefix: cthulhu-
sources:
- ingress