gloo
gloo copied to clipboard
Deleting an HTTPRoute fails to remove corresponding Envoy config
Gloo Edge Product
Open Source
Gloo Edge Version
v2.0.0-beta1
Kubernetes Version
v1.27.3 (kind)
Describe the bug
When I use kubectl to delete an HTTPRoute, GG fails to remove the corresponding Envoy config. So a request to that route will be processed as before, instead of erroring out.
Expected Behavior
Request should return a 404 response after route is removed.
Steps to reproduce the bug
- Deploy the httpbin service / upstream as described here. Complete all the steps before the Next Steps section.
- Confirm that this test succeeds as expected:
curl -vik http://$INGRESS_GW_ADDRESS:8080/status/200 -H "host: www.example.com:8080"
- Delete the HTTPRoute you created earlier:
kubectl delete httproute httpbin -n httpbin
- Re-run this curl command. It should fail with a 404 error but it succeeds instead.
curl -vik http://$INGRESS_GW_ADDRESS:8080/status/200 -H "host: www.example.com:8080"
Additional Environment Detail
Using kind cluster
Additional Context
No response