From 8e8386b1fe8defe142b19ddeb3f6aff9b21d2d83 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Sat, 17 Jan 2026 11:58:42 -0500 Subject: [PATCH] backward --- networkpolicy.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/networkpolicy.yaml b/networkpolicy.yaml index 3914a6b..6061237 100644 --- a/networkpolicy.yaml +++ b/networkpolicy.yaml @@ -16,6 +16,12 @@ spec: - namespaceSelector: matchLabels: kubernetes.io/metadata.name: irc + + # explicitly allowed home LAN + - from: + - ipBlock: + cidr: 192.168.195.0/24 + egress: # namespace-local @@ -24,11 +30,6 @@ spec: matchLabels: kubernetes.io/metadata.name: irc - # explicitly allowed home LAN - - to: - - ipBlock: - cidr: 192.168.195.0/24 - # public internet only - to: - ipBlock: