-
Notifications
You must be signed in to change notification settings - Fork 92
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
OCPBUGS-44674: Handle openshift-host-network
namespace as special when it modifies
#648
base: master
Are you sure you want to change the base?
Conversation
…n it modifies - Add condition in NetworkPolicy updateMatchCache to handle HostNetworkNamespace changes Signed-off-by: Vinu Kochukuttan <[email protected]>
@k37y: This pull request references Jira Issue OCPBUGS-44674, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: k37y The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/jira refresh |
@k37y: This pull request references Jira Issue OCPBUGS-44674, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/assign @danwinship |
match.matches[npns.name] = 0 | ||
} else { | ||
match.matches[npns.name] = npns.vnid | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah! Yes, this seems right, but can you turn this into a helper function so we don't have the same logic in both selectNamespacesInternal
and updateMatchCache
? (Maybe npns.GetMatchVNID()
?)
openshift-sdn master is dead now (and in particular, there is no CI for openshift-sdn master any more). SDN bugs should be filed against 4.16 first, and then backported from there as needed. You can click the "Edit" button by the bug summary, and then that will let you change the base branch from |
NetworkPolicy
updateMatchCache
to handleHostNetworkNamespace
changes