try network policy again
This commit is contained in:
+1
-1
@@ -3,6 +3,6 @@ kind: Kustomization
|
||||
resources:
|
||||
# Uncomment if storing configuration in the repo
|
||||
# - configmap.yaml
|
||||
# - networkpolicy.yaml
|
||||
- networkpolicy.yaml
|
||||
- ./thelounge
|
||||
- ./znc
|
||||
|
||||
+7
-2
@@ -13,8 +13,13 @@ spec:
|
||||
|
||||
ingress:
|
||||
- from:
|
||||
- ipBlock:
|
||||
cidr: 0.0.0.0/0
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: irc
|
||||
- from:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: istio-system
|
||||
|
||||
egress:
|
||||
# namespace-local
|
||||
|
||||
Reference in New Issue
Block a user