try again

This commit is contained in:
2026-01-17 11:54:55 -05:00
parent e22f22a3f8
commit f95d0f7cf0
+9 -5
View File
@@ -17,16 +17,20 @@ spec:
- Egress - Egress
ingress: ingress:
# Allow traffic only from pods in the same namespace # Allow all in-namespace traffic (includes Service -> Pod, Gateway -> Service -> Pod)
- from: - from:
- podSelector: {} - namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: irc
egress: egress:
# Allow traffic to pods in the same namespace # Allow in-namespace pod communication
- to: - to:
- podSelector: {} - namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: irc
# Allow traffic to public internet (RFC1918 explicitly blocked) # Allow public internet only (block RFC1918)
- to: - to:
- ipBlock: - ipBlock:
cidr: 0.0.0.0/0 cidr: 0.0.0.0/0