kubernetes-sigs / external-dns

Configure external DNS servers (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services
Apache License 2.0
7.75k stars 2.58k forks source link

Missing logs when provider already has entry with no owner #4814

Closed davhdavh closed 1 month ago

davhdavh commented 1 month ago

What would you like to be added:

If a DNS entry already has an owner, and a DELETE or UPDATE, this log would be triggered: https://github.com/kubernetes-sigs/external-dns/blob/59b243856a596ec47827889945b84d4d15d5c1dd/endpoint/endpoint.go#L329

However, when a new entry needs to be CREATED, no such long entry is made: https://github.com/kubernetes-sigs/external-dns/blob/59b243856a596ec47827889945b84d4d15d5c1dd/plan/plan.go#L237

It just silenty drops the create.

Why is this needed:

Because if you configured external-dns to do the mapping and it is not able to, it should log that it is not able to.