-
Notifications
You must be signed in to change notification settings - Fork 712
SecurityPolicy crd not working correctly with multiple gateway controllers #2520
Description
Description:
I have currently two different gateways installed (called internal and external). I am trying to create oidc and jwt SecurityPolicy to internal one. However, some configurations gets applied to external one and the auth itself does not work at all. If I try to create these policies to external one, it will somehow work. After I will apply cognito configurations to internal gateway I can see cognito configurations to be applied to external as well.
Repro steps:
install two different gateway controllers and then https://gist.github.com/zetaab/e70547adb70a8de61765387f36e8c23f
I have currently that configuration applied and I can see following in external envoyproxy (which should be only under internal gateway components):

it does not have any configuration that should be against cognito at all.
Environment:
kube 1.29.1
Logs: