From b86f7496532ef6cb367ae0cecd93dd2f90e63286 Mon Sep 17 00:00:00 2001 From: Arvind Prabhakar Date: Tue, 30 Jun 2026 23:14:38 +0000 Subject: [PATCH] Allowed pgAdmin egress to platform Postgres --- .../network-policies/pgadmin/base-egress.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/infrastructure/network-policies/pgadmin/base-egress.yaml b/infrastructure/network-policies/pgadmin/base-egress.yaml index bcaf86a..cf639da 100644 --- a/infrastructure/network-policies/pgadmin/base-egress.yaml +++ b/infrastructure/network-policies/pgadmin/base-egress.yaml @@ -8,6 +8,7 @@ spec: egress: - toEntities: - kube-apiserver + - toEndpoints: - matchLabels: k8s:io.kubernetes.pod.namespace: kube-system @@ -18,3 +19,12 @@ spec: protocol: UDP - port: "53" protocol: TCP + + - toEndpoints: + - matchLabels: + k8s:io.kubernetes.pod.namespace: platform-services + app: platform-postgres + toPorts: + - ports: + - port: "5432" + protocol: TCP