-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Allow NetworkPolicy.spec updates #47123
Allow NetworkPolicy.spec updates #47123
Conversation
I am OK with this change in semantic, but are implementations ready for updates, since it has never happened before? My inclination would be to leave this out of 1.7, and broach it in 1.8. Thoughts? |
/lgtm |
(approved but no milestone) |
OpenShift's code purports to handle updates, though obviously it's untested. I'm fine leaving this until 1.8. It's not really that hard for people to delete+recreate instead. |
Calico code supports updates, though clearly it hasn't been tested e2e. I'm happy to leave this until v1.8. |
should update test/e2e/network_policy.go before this actually lands |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danwinship, thockin Associated issue: 35911 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
👍 Cilium supports updates as well. |
@danwinship Do we still want to cherrypick for a 1.7.X release as well? |
I'm assuming we don't at this point |
/retest not sure what is holding up the federation test |
/retest |
/retest federation suite is fixed |
Automatic merge from submit-queue |
ValidateNetworkPolicyUpdate currently prohibits changes to
spec
in an existing NetworkPolicy. We were going to fix this for 1.7 but I forgot to submit this PR after the main PR merged. Too late for 1.7? @thockin @caseydavenport @cmlucianoThis only changes networking.NetworkPolicy validation at the moment... Should I change extensions.NetworkPolicy validation too?
Fixes #35911
We should add a test to the e2e NetworkPolicy test for this too if this is going to merge.
Release note: