adjust policy for polaris
This commit is contained in:
+7
-2
@@ -1,4 +1,5 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: NetworkPolicy
|
kind: NetworkPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: irc
|
name: irc
|
||||||
@@ -8,8 +9,12 @@ spec:
|
|||||||
matchExpressions:
|
matchExpressions:
|
||||||
- key: app.kubernetes.io/name
|
- key: app.kubernetes.io/name
|
||||||
operator: In
|
operator: In
|
||||||
values: [znc, thelounge]
|
values:
|
||||||
policyTypes: [Ingress, Egress]
|
- znc
|
||||||
|
- thelounge
|
||||||
|
policyTypes:
|
||||||
|
- Ingress
|
||||||
|
- Egress
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
- from:
|
- from:
|
||||||
|
|||||||
Reference in New Issue
Block a user