[networking] reverted externaldns changes

This commit is contained in:
gruberdev
2023-09-11 21:07:52 -03:00
parent 67024d7ed0
commit 94de8dfb18
4 changed files with 105 additions and 138 deletions

View File

@@ -11,36 +11,111 @@ spec:
helm:
releaseName: external-dns
namespace: networking
valueFiles:
- $values/apps/networking/external-dns/cvalues.yaml
plugin:
name: argocd-vault-plugin-helm
env:
- name: HELM_VALUES
value: |
cloudflare:
apiKey: <path:kv/data/cloudflare#api-key>
email: <path:kv/data/cloudflare#email>
- repoURL: https://github.com/kubernetes-sigs/external-dns.git
path: charts/external-dns
targetRevision: v0.13.6
helm:
releaseName: external-dns
namespace: networking
valueFiles:
- $values/apps/networking/external-dns/cvalues.yaml
- repoURL: https://github.com/gruberdev/homelab.git
targetRevision: main
ref: values
# Awaiting this PR to be merged https://github.com/gczuczy/argo-cd/blob/multi-source-combine-signedoff/docs/user-guide/multiple_sources.md
# plugin:
# name: argocd-vault-plugin-helm
# env:
# - name: HELM_VALUES
# value: |
# cloudflare:
# apiKey: <path:kv/data/cloudflare#api-key>
# email: <path:kv/data/cloudflare#email>
values: |
aws:
apiRetries: 3
batchChangeSize: 1000
credentials:
mountPath: /.aws
region: us-east-1
zonesCacheDuration: 0
domainFilters:
- gruber.dev.br
azure:
useManagedIdentityExtension: false
proxied: false
clusterDomain: cluster.local
combineFQDNAnnotation: false
containerPorts:
http: 7979
crd:
create: true
designate:
customCA:
enabled: false
filename: designate-ca.pem
mountPath: /config/designate
dryRun: false
forceTxtOwnerId: false
ignoreHostnameAnnotation: false
image:
pullPolicy: Always
repository: registry.k8s.io/external-dns/external-dns
tag: v0.13.6
infoblox:
noSslVerify: false
wapiUsername: admin
interval: 1m
logFormat: text
logLevel: debug
ns1:
minTTL: 10
pdns:
apiPort: "8081"
podAntiAffinityPreset: soft
policy: sync
podAnnotations:
reloader.stakater.com/auto: "true"
provider: cloudflare
cloudflare:
apiKey: <path:kv/data/cloudflare#api-key>
email: <path:kv/data/cloudflare#email>
publishHostIP: false
publishInternalServices: true
rbac:
apiVersion: v1
clusterRole: true
create: true
pspEnabled: false
registry: txt
txtOwnerId: external-dns
textPrefix: unique
replicaCount: 1
resources:
limits:
cpu: 250m
memory: 512Mi
requests:
cpu: 70m
memory: 150Mi
rfc2136:
minTTL: 0s
port: 53
rfc3645Enabled: false
tsigAxfr: true
tsigKeyname: externaldns-key
tsigSecretAlg: hmac-sha256
service:
enabled: true
externalTrafficPolicy: Cluster
ports:
http: 7979
sessionAffinity: None
type: ClusterIP
serviceAccount:
automountServiceAccountToken: true
create: true
updateStrategy:
type: Recreate
args:
- --events
- --log-level=debug
- --policy=sync
- --provider=cloudflare
- --source=ingress
- --source=service
- --registry=txt
- --txt-owner-id=external-dns
- --txt-prefix=homelab
- --cloudflare-dns-records-per-page=1000
- --interval=6m
- --txt-cache-interval=10m
sources:
- service
- ingress
triggerLoopOnEvent: false
useDaemonset: false
watchReleaseNamespace: false
destination:
namespace: networking
name: in-cluster

View File

@@ -1 +0,0 @@
## External-DNS

View File

@@ -1,101 +0,0 @@
aws:
apiRetries: 3
batchChangeSize: 1000
credentials:
mountPath: /.aws
region: us-east-1
zonesCacheDuration: 0
domainFilters:
- gruber.dev.br
azure:
useManagedIdentityExtension: false
proxied: false
clusterDomain: cluster.local
combineFQDNAnnotation: false
containerPorts:
http: 7979
crd:
create: true
designate:
customCA:
enabled: false
filename: designate-ca.pem
mountPath: /config/designate
dryRun: false
forceTxtOwnerId: false
ignoreHostnameAnnotation: false
image:
pullPolicy: Always
repository: registry.k8s.io/external-dns/external-dns
tag: v0.13.6
infoblox:
noSslVerify: false
wapiUsername: admin
interval: 1m
logFormat: text
logLevel: debug
ns1:
minTTL: 10
pdns:
apiPort: "8081"
podAntiAffinityPreset: soft
policy: sync
podAnnotations:
reloader.stakater.com/auto: "true"
provider: cloudflare
publishHostIP: false
publishInternalServices: true
rbac:
apiVersion: v1
clusterRole: true
create: true
pspEnabled: false
registry: txt
txtOwnerId: external-dns
textPrefix: unique
replicaCount: 1
resources:
limits:
cpu: 250m
memory: 512Mi
requests:
cpu: 70m
memory: 150Mi
rfc2136:
minTTL: 0s
port: 53
rfc3645Enabled: false
tsigAxfr: true
tsigKeyname: externaldns-key
tsigSecretAlg: hmac-sha256
service:
enabled: true
externalTrafficPolicy: Cluster
ports:
http: 7979
sessionAffinity: None
type: ClusterIP
serviceAccount:
automountServiceAccountToken: true
create: true
updateStrategy:
type: Recreate
args:
- --events
- --log-level=debug
- --policy=sync
- --provider=cloudflare
- --source=ingress
- --source=service
- --registry=txt
- --txt-owner-id=external-dns
- --txt-prefix=homelab
- --cloudflare-dns-records-per-page=1000
- --interval=6m
- --txt-cache-interval=10m
sources:
- service
- ingress
triggerLoopOnEvent: false
useDaemonset: false
watchReleaseNamespace: false

View File

@@ -1,6 +0,0 @@
helmCharts:
- name: external-dns
repo: https://kubernetes-sigs.github.io/external-dns/
version: 1.13.1
releaseName: external-dns
namespace: networking