k3s/pkg/apis
Kubernetes Submit Queue 62ba00e4e7 Merge pull request #47123 from danwinship/networkpolicy-update
Automatic merge from submit-queue

Allow NetworkPolicy.spec updates

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 @cmluciano 

This 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**:
```release-note
As part of the NetworkPolicy "v1" changes, it is also now
possible to update the spec field of an existing
NetworkPolicy. (Previously you had to delete and recreate a
NetworkPolicy if you wanted to change it.)
```
2017-07-07 17:45:41 -07:00
..
abac run hack/update-codegen.sh 2017-06-22 11:30:58 -07:00
admission run hack/update-all 2017-06-22 11:31:03 -07:00
admissionregistration run hack/update-all 2017-06-22 11:31:03 -07:00
apps run hack/update-all 2017-06-22 11:31:03 -07:00
authentication run hack/update-all 2017-06-22 11:31:03 -07:00
authorization run hack/update-all 2017-06-22 11:31:03 -07:00
autoscaling run hack/update-all 2017-06-22 11:31:03 -07:00
batch run hack/update-all 2017-06-22 11:31:03 -07:00
certificates run hack/update-all 2017-06-22 11:31:03 -07:00
componentconfig run hack/update-all 2017-06-22 11:31:03 -07:00
extensions run hack/update-all 2017-06-22 11:31:03 -07:00
imagepolicy run hack/update-all 2017-06-22 11:31:03 -07:00
meta/v1 autogenerated 2017-04-14 10:40:57 -07:00
networking Merge pull request #47123 from danwinship/networkpolicy-update 2017-07-07 17:45:41 -07:00
policy run hack/update-all 2017-06-22 11:31:03 -07:00
rbac run hack/update-all 2017-06-22 11:31:03 -07:00
settings run hack/update-all 2017-06-22 11:31:03 -07:00
storage run hack/update-all 2017-06-22 11:31:03 -07:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00