-
Notifications
You must be signed in to change notification settings - Fork 3.7k
GAMMA support cannot have more than one HTTPRoute attached to the same Service #39830
Description
When using Cilium's GAMMA support, it currently only supports one HTTPRoute attaching to a Service. When multiple HTTPRoutes are attached, the last one reconciled will be the one that takes effect (this practically means that it's usually the last one created, but that may not always be the case).
This is because when I built the GAMMA reconciler(under #22512, in #32744) , I had it watch only HTTPRoute objects, and build the resulting CilumEnvoyConfig based on that single HTTPRoute, rather than watching Service objects and building the config on a per-Service basis.
This issue covers work to resolve this and make GAMMA reconciliation work properly, as in north/south Gateway API reconciliation.
This issue affects all releases of Cilium with GAMMA support (since Cilium v1.16).
I'm working on a fix already, but it involves rewriting the whole GAMMA reconciler, so I'm making I get it right this time.