Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Allow Policy to attach to multiple http listeners #2963

Closed
arkodg opened this issue Mar 18, 2024 · 1 comment · Fixed by #2967
Closed

bug: Allow Policy to attach to multiple http listeners #2963

arkodg opened this issue Mar 18, 2024 · 1 comment · Fixed by #2967

Comments

@arkodg
Copy link
Contributor

arkodg commented Mar 18, 2024

          @arkodg You are right - we do have a regression here. The following _should_ be possible but is not possible right now:

Setting a single ClientTrafficPolicy or a SecurityPolicy that targets a single Gateway, when that Gateway has more than one listener. The policy in this case is intended to apply the same settings to all of the listeners, and is valid, but it is currently being rejected.

If, instead of targeting the entire Gateway, the SecurityPolicy were to target a specific HTTPRoute then the correct behavior would have been to reject the SecurityPolicy since it's not possible to have different configuration for two routes connected to the same listener.

I think that this should be tracked as a separate issue though - WDYT?

Originally posted by @liorokman in #2742 (comment)

@arkodg
Copy link
Contributor Author

arkodg commented Mar 18, 2024

regression associated with #2786

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants