-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HttpRoute updates changing the hostname make additive change but don't clean up old hostname route #206
Comments
Just tested, 2b works for me - deleted routes are removed from config. Can you get controller logs please? 2a isn't implemented yet, I'll add to the README. I was hoping for more progress on GEP-2627 first, but that hasn't happened. Might get to it in the next couple months and take inspiration from ExternalDNS |
Ok I can look into 2a. As for 2b, it looks like the configuration gets updated correctly but maybe the cloudflared process doesn't reset the route properly and continues to direct traffic to the service, instead of replying with the 503 that that process does if the host isn't configured. I'll get logs for you tomorrow. |
Ok forgive the incorrect issue report. 2.b does in fact work. I must have had a cached version in the browser. As for GEP-2627, is that something specified in the Gateway API spec? I might be able to take a look at implementing if you had an implementation path in mind or were open to whatever I came up with. My timeline would likely be this month. |
Yeah GEP-2627 would add DNS config to the API spec, but I don't think it'll be ready anytime soon. For implementation, I see two options
|
Yeah the finalizer on the HttpRoute does seem the cleanest. I'm currently reevaluating my use of cloudflared due to cost associated with traffic and DNS hostnames, so I'll let you know if I do plan to continue use. If so I would be happy to contribute. |
Steps to reproduce:
Expected Result:
a. DNS record exists for desired route to tunnel
b. Ingress rule exists in tunnel to route from gateway to service
a. DNS record has been removed from cloudflare
b. Ingress rule is updated to block incoming traffic using the old hostname
Actual Result:
a. DNS record still exists on domain
b. Gateway Tunnel still routes old hostname to service
The text was updated successfully, but these errors were encountered: