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:
@@ -60,8 +60,8 @@ ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
external-dns.alpha.kubernetes.io/hostname: "communicore.local.mk-labs.cloud"
|
||||
external-dns.alpha.kubernetes.io/target: "10.1.71.80"
|
||||
# Opt in to public Cloudflare DNS — creates communicore.mk-labs.cloud -> lb.mk-labs.cloud
|
||||
external-dns.alpha.kubernetes.io/target: "ingress.mk-labs.cloud"
|
||||
# Opt in to public Cloudflare DNS — creates communicore.mk-labs.cloud -> ingress.mk-labs.cloud
|
||||
external-dns.alpha.kubernetes.io/public: "true"
|
||||
hosts:
|
||||
- communicore.local.mk-labs.cloud
|
||||
|
||||
Reference in New Issue
Block a user