Closed
Description
What happened:
Upgraded both external-dns and pi-hole to move to the v6 version of pi-hole. external-dns fails to start due to
flag parsing error: unknown long flag '--pihole-api-version'
What you expected to happen:
external-dns to start successfully and function with the updated pihole API
How to reproduce it (as minimally and precisely as possible):
try to start this container registry.k8s.io/external-dns/external-dns:v0.16.1
with the --pihole-api-version="6"
argument (as described in the docs).
Anything else we need to know?:
Might be build related, going through the implementation issue (#5226), one of the staging images
gcr.io/k8s-staging-external-dns/external-dns:v20250402-v0.16.1-48-g1efdf416
works as expected
Environment:
- External-DNS version (use
external-dns --version
): 0.16.1 - DNS provider: pihole
- Others: v6 api