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 issue where initial outbound policy did not contain producer routes #12619

Merged
merged 2 commits into from
May 23, 2024

Conversation

adleong
Copy link
Member

@adleong adleong commented May 17, 2024

An HTTPRoute whose parentRef is a Service in the same namespace is called a producer route. Producer routes should be used in outbound policy by all clients calling that Service, even if the client is in a different namespace. The policy controller has a bug where when a outbound policy watch is started, the initial outbound policy returned will not include any producer routes which already exist.

We correct this bug and add tests.

@adleong adleong requested a review from a team as a code owner May 17, 2024 21:16
@adleong adleong merged commit b94ae8b into main May 23, 2024
27 checks passed
@adleong adleong deleted the alex/producer-route branch May 23, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants