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

Skip processing unrelated namespace peers for Network Policy #4776

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pperiyasamy
Copy link
Contributor

When network policy object contains peers from namespace which is not on subject's user defined network, then it doesn't make sense to add that peer namespace into OVN's network policy ACL, because those namespaces are isolated already. Hence this PR avoids processing such peers in network policy namespace peer handler.

@pperiyasamy pperiyasamy requested a review from a team as a code owner October 14, 2024 16:11
@tssurya tssurya added kind/bug All issues that are bugs and PRs opened to fix bugs feature/user-defined-network-segmentation All PRs related to User defined network segmentation labels Oct 16, 2024
@tssurya tssurya requested a review from jcaamano October 16, 2024 09:48
@tssurya tssurya added this to the v1.1.0 milestone Oct 16, 2024
When network policy object contains peers from namespace which is not on
subject's user defined network, then it doesn't make sense to add that
peer namespace into OVN's network policy ACL, because those namespaces
are isolated already. Hence this commit avoids processing such peers in
network policy namespace peer handler.

Signed-off-by: Periyasamy Palanisamy <pepalani@redhat.com>
@github-actions github-actions bot added the area/unit-testing Issues related to adding/updating unit tests label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/unit-testing Issues related to adding/updating unit tests feature/user-defined-network-segmentation All PRs related to User defined network segmentation kind/bug All issues that are bugs and PRs opened to fix bugs
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants