From 3ce56bc860948ef0750dfe86d23c10137ef45a5c Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Sun, 28 Dec 2025 22:25:00 +0200 Subject: [PATCH] Fix etherpad networkpolicy --- etherpad/application.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/etherpad/application.yml b/etherpad/application.yml index 4628ef3..4e3b31e 100644 --- a/etherpad/application.yml +++ b/etherpad/application.yml @@ -133,7 +133,20 @@ spec: - protocol: TCP port: 3306 - to: - - namespaceSelector: {} + - ipBlock: + cidr: 10.96.0.10/32 + ports: + - protocol: UDP + port: 53 + - protocol: TCP + port: 53 + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: kube-system + podSelector: + matchLabels: + k8s-app: kube-dns ports: - protocol: UDP port: 53