adyanth / cloudflare-operator

A Kubernetes Operator to create and manage Cloudflare Tunnels and DNS records for (HTTP/TCP/UDP*) Service Resources
https://adyanth.site/posts/migration-compose-k8s/cloudflare-tunnel-operator-architecture/
Apache License 2.0
346 stars 35 forks source link

After updating spec.fqdn, the old fqdn is not deleted on Cloudflare #96

Open monlor opened 10 months ago

adyanth commented 4 months ago

Currently the operator does not keep track of all the applied entries, so has no way of noticing the spec changes. On creation/deletion, it loops through the list of "current" entries and inserts/updates/deletes the DNS entries. Feel free to submit a PR for this!