external-dns
external-dns copied to clipboard
traefik-proxy IngressRoute not filtering
What happened: I'm running two instances of external-dns and also two instances of traefik (private and public). For traefik I've created two IngressRoutes for the dashboard. External-dns is configured with ingress-class filter:
external-dns-private: --ingress-class=private external-dns-public: --ingress-class=public
Both IngressRoutes are using kubernetes.io/ingress.class: private in the annotations. Unfortunately both external-dns instances are trying to create DNS records and sometime the external-dns-public wins.
What you expected to happen: --ingress-class-filtering should also work on IngressRoute on source traefik-proxy. In my scenario only external-dns-private should manage the IngressRoutes because of kubernetes.io/ingress.class: private.
How to reproduce it (as minimally and precisely as possible): Use two external-dns deployments with traefik-proxy as provider and ingress filtering for different ingress classes. The IngressRoutes are taken by both external-dns instances.
Anything else we need to know?:
Environment:
- External-DNS version (use
external-dns --version): v0.15.1 - DNS provider: Azure Public DNS
- Others: