Files
kubernetes/api/swagger-spec
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
..
2018-01-10 22:05:00 +08:00
2017-11-03 13:46:29 -07:00
2017-01-05 14:14:13 -08:00
2018-02-11 11:04:15 +08:00
2017-11-22 18:40:09 +00:00
2018-02-28 08:27:39 -05:00
2018-03-21 11:21:17 +01:00
2017-07-18 17:47:57 -07:00
2016-08-18 14:14:52 -07:00