cloudflare / cloudflare-ingress-controller

A Kubernetes ingress controller for Cloudflare's Argo Tunnels
Apache License 2.0
364 stars 55 forks source link

CNAME record overwritten by argo-tunnel #167

Closed phroiland closed 5 years ago

phroiland commented 5 years ago

In my situation I have:

If I make a change to my-api--deleting pods, updating deployments, restarting argo-controller, etc. Argo-Tunnel refreshes the CNAMES of both. This is fine for my-api, but I'm forced to log into cloudflare and manually update the CNAME for my-app everytime.

There should be a check to see that an alias is not *_.cftunnel.com_** and leave it alone.

Unless, of course, there is an annotation setting I don't know about that could keep my CNAME alias as *_.herokudns.com_**

Other than that, even though you guys are in beta with this--it performs almost flawlessly. Pretty easy to set-up on a somewhat complicated environment like ours. Great job!

phroiland commented 5 years ago

With multiple environments this is really problematic.

acrogenesis commented 5 years ago

Why do you have my-app on the ingress yaml? Just remove it and it won't happen.

phroiland commented 5 years ago

You're right. Amidst my troubleshooting efforts with K8s, ingress finally working when I did include it proved to be a red herring.

Thanks.