'namespaceSelector' in the NetworkPolicy example
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user