From f4e0053b56d619e2cd971d77b7dbdbf40a372699 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Sat, 17 Jan 2026 20:22:39 -0500 Subject: [PATCH] fix dns? --- thelounge/networkpolicy.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/thelounge/networkpolicy.yaml b/thelounge/networkpolicy.yaml index 3d95c03..30c5a90 100644 --- a/thelounge/networkpolicy.yaml +++ b/thelounge/networkpolicy.yaml @@ -21,13 +21,24 @@ spec: kubernetes.io/metadata.name: istio-system egress: - # namespace-local - to: - namespaceSelector: matchLabels: kubernetes.io/metadata.name: irc - # public internet only + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: kube-system + podSelector: + matchLabels: + k8s-app: kube-dns + ports: + - protocol: UDP + port: 53 + - protocol: TCP + port: 53 + - to: - ipBlock: cidr: 0.0.0.0/0