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

Fix AuthPolicy attachment to Gateway instead of HTTPRoute #633

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

emmaaroche
Copy link
Contributor

@emmaaroche emmaaroche commented Feb 17, 2025

Summary
This PR ensures that the AuthPolicy is attached to the Gateway instead of the HTTPRoute, fixing the unintended behavior in some tests.

Changes Made

  • Updated authorization fixture in testsuite/tests/singlecluster/gateway/conftest.py to use gateway as the target reference.
  • Removed an authorization fixture that was used to override the AuthPolicy in test_update_authpolicy_target_ref.py.

Related Issue
#630

@emmaaroche emmaaroche added the bug Something isn't working label Feb 17, 2025
@emmaaroche emmaaroche self-assigned this Feb 17, 2025
@emmaaroche emmaaroche force-pushed the gateway-policy-attach-fix branch from f438ddc to f31f689 Compare February 17, 2025 14:02
@emmaaroche emmaaroche requested a review from azgabur February 17, 2025 17:08
@azgabur azgabur merged commit 7d040d4 into Kuadrant:main Feb 19, 2025
3 checks passed
@emmaaroche emmaaroche deleted the gateway-policy-attach-fix branch February 19, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants