feat(apps): add external-dns app
This commit is contained in:
parent
37e63f2de5
commit
33dba127df
1 changed files with 39 additions and 0 deletions
39
apps/system/external-dns.yaml
Normal file
39
apps/system/external-dns.yaml
Normal 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
|
||||||
Reference in a new issue