kubernetes/pkg/apis/networking
Kubernetes Submit Queue 0b062e1518
Merge pull request #60452 from danwinship/networkpolicy-pod-plus-ns
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Allow including both podSelector and namespaceSelector in a NetworkPolicyPeer

Updates NetworkPolicy API docs and validation to allow podSelector and namespaceSelector to be specified together in a NetworkPolicyPeer

Fixes #58637

**Release note**:
```release-note
NetworkPolicies can now target specific pods in other namespaces by including both a namespaceSelector and a podSelector in the same peer element.
```
2018-03-24 13:34:27 -07:00
..
fuzzer update BUILD files 2017-10-15 18:18:13 -07:00
install Update bazel 2017-10-18 17:24:04 +02:00
v1 regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
validation Allow including both podSelector and namespaceSelector in a NetworkPolicyPeer 2018-02-26 14:59:56 -05:00
BUILD Update generated code 2017-11-10 18:26:46 +01:00
doc.go deepcopy: remove deepcopy register tags 2017-11-10 18:25:26 +01:00
OWNERS Add cmluciano to NetworkPolicy reviewers 2017-09-05 14:14:27 -04:00
register.go Add networking.k8s.io v1 API, with NetworkPolicy 2017-05-28 10:11:01 -04:00
types.go Allow including both podSelector and namespaceSelector in a NetworkPolicyPeer 2018-02-26 14:59:56 -05:00
zz_generated.deepcopy.go regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00