From c5818bcdb45c194ca431087dbcf80fa0a7f6e144 Mon Sep 17 00:00:00 2001 From: Arvind Prabhakar Date: Tue, 30 Jun 2026 23:11:59 +0000 Subject: [PATCH] Allowed OpenProject egress to Postgres and Memcached --- .../openproject/base-egress.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/infrastructure/network-policies/openproject/base-egress.yaml b/infrastructure/network-policies/openproject/base-egress.yaml index 71b8143..742a963 100644 --- a/infrastructure/network-policies/openproject/base-egress.yaml +++ b/infrastructure/network-policies/openproject/base-egress.yaml @@ -8,6 +8,7 @@ spec: egress: - toEntities: - kube-apiserver + - toEndpoints: - matchLabels: k8s:io.kubernetes.pod.namespace: kube-system @@ -18,3 +19,21 @@ 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 + + - toEndpoints: + - matchLabels: + k8s:io.kubernetes.pod.namespace: openproject + app.kubernetes.io/name: memcached + toPorts: + - ports: + - port: "11211" + protocol: TCP