gateway icon indicating copy to clipboard operation
gateway copied to clipboard

fix: duplicated xroutes are added to gatewayapi.Resources

Open aoledk opened this issue 9 months ago • 0 comments

What type of PR is this?

Fix duplicated TLSRoute/HTTPRoute/GRPCRoute/TCPRoute/UDPRoute are added to gatewayapi.Resources when single xRoute is attaching to multiple Gateways.

What this PR does / why we need it:

When single xRoute is attaching to multiple Gateways, this case is normal, different listeners with distinct certificates or transport sockets should route traffic to same backend. Duplicated xRoutes will be processed in gatewayapi module, then listener's attachedRoutes will be incorrect.

Which issue(s) this PR fixes:

Fixes #3165

aoledk avatar Apr 26 '24 07:04 aoledk