'namespaceSelector' in the NetworkPolicy example

This commit is contained in:
Eric Paris
2016-09-22 11:47:29 -04:00
committed by GitHub
parent f2465eec29
commit 5a7e1165bb
+3
View File
@@ -64,6 +64,9 @@ spec:
role: db role: db
ingress: ingress:
- from: - from:
- namespaceSelector:
matchLabels:
project: myproject
- podSelector: - podSelector:
matchLabels: matchLabels:
role: frontend role: frontend