Configure for cloudflare using dnsendpoint.

This commit is contained in:
Joseph Hanson 2024-01-12 09:56:15 -06:00
parent 174a4fb32a
commit 4f0b486385

View file

@ -10,7 +10,7 @@ spec:
chart:
spec:
chart: external-dns
version: 1.13.1
version: 1.14.1
sourceRef:
kind: HelmRepository
name: kubernetes-sigs-external-dns
@ -20,9 +20,6 @@ spec:
values:
fullnameOverride: *name
domainFilters:
- hsn.dev
env:
- name: CF_API_TOKEN
valueFrom:
@ -30,16 +27,33 @@ spec:
name: externaldns-hsn-dev-secrets
key: cloudflare_api_token
domainFilters:
- hsn.dev
policy: sync
provider: cloudflare
sources:
- ingress
- crd
txtPrefix: "k8s."
extraArgs:
args:
- --cloudflare-proxied
- --crd-source-apiversion=externaldns.k8s.io/v1alpha1
- --ingress-class=hsn-nginx
- --crd-source-kind=DNSEndpoint
- --ingress-class=external
- --interval=1m
- --log-format=text
- --log-level=info
- --registry=txt
- --txt-owner-id=default
serviceMonitor:
enabled: true
podAnnotations:
secret.reloader.stakater.com/reload: externaldns-hsn-dev-secrets
policy: sync
provider: cloudflare
resources:
requests:
cpu: 5m
@ -47,15 +61,6 @@ spec:
limits:
memory: 100Mi
serviceMonitor:
enabled: true
sources:
- ingress
- crd
txtPrefix: "k8s."
postRenderers:
- kustomize:
patches: