fix(external-dns): remove invalid --target flag, move to per-resource annotation

ExternalDNS v0.15.1 does not support --target as a CLI flag.
Remove the extraArgs stanza from external-dns-cloudflare values.yaml
and instead add the target annotation directly on the CouchDB ingress:
  external-dns.alpha.kubernetes.io/target: ingress.mk-labs.cloud

This achieves the same result (Cloudflare CNAME -> ingress.mk-labs.cloud)
without crashing the controller.
This commit is contained in:
Hermes Agent service account
2026-06-07 19:08:15 -05:00
parent 3344e24a48
commit 86433a58d0
2 changed files with 2 additions and 6 deletions

View File

@@ -38,10 +38,6 @@ sources:
# ingress/service that should get a public Cloudflare record.
annotationFilter: "external-dns.alpha.kubernetes.io/public=true"
# Override the target for all Cloudflare-managed records to the public LB CNAME.
extraArgs:
- --target=ingress.mk-labs.cloud
# Log level
logLevel: info