h3poteto / aws-global-accelerator-controller

A Kubernetes controller for Global Accelerators and Route53
Apache License 2.0
26 stars 8 forks source link

Unable to delete EndpointGroupBinding if accelerator no longer exists #198

Closed gytis-ivaskevicius closed 3 months ago

gytis-ivaskevicius commented 3 months ago

Error in the aws-global-accelerator-controller-manager:

E0715 21:51:05.433016       1 reconcile.go:49] operation error Global Accelerator: DescribeEndpointGroup, https response error StatusCode: 400, RequestID: 81e719b5-3ffa-45f4-99b8-0470bdde5f7d, EndpointGroupNotFoundException: EndpointGroup arn:aws:globalaccelerator::926093910549:accelerator/2d469309-bc50-4a16-8e6f-fe3576f794cf/listener/0393675a/endpoint-group/c67af2626002 does not exist.
h3poteto commented 3 months ago

How to reproduce this?

gytis-ivaskevicius commented 3 months ago

Given: I have ingress bound to accelerator using endpointBinding When: I delete accelerator and then try to delete endpoint binding Then: I am unable to delete endpoint binding

h3poteto commented 3 months ago

Ah, I got it. Desired behavior is

gytis-ivaskevicius commented 3 months ago

yep, exactly