Skip to content

SecurityPolicy crd not working correctly with multiple gateway controllers #2520

@zetaab

Description

@zetaab

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):
Screenshot 2024-01-28 at 23 07 08

it does not have any configuration that should be against cognito at all.

Environment:
kube 1.29.1

Logs:

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions