try network policy again

This commit is contained in:
2026-01-17 12:11:18 -05:00
parent 5494e4125a
commit 22349645da
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -3,6 +3,6 @@ kind: Kustomization
resources:
# Uncomment if storing configuration in the repo
# - configmap.yaml
# - networkpolicy.yaml
- networkpolicy.yaml
- ./thelounge
- ./znc
+7 -2
View File
@@ -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