From 34f0f8e5e331d7179c51b30f42677ef691a1078a Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sat, 18 Nov 2023 12:44:41 +0100 Subject: [PATCH] Added egress to redis --- helm/argocd/templates/network-policy.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/helm/argocd/templates/network-policy.yaml b/helm/argocd/templates/network-policy.yaml index 39ea283..f9e606c 100644 --- a/helm/argocd/templates/network-policy.yaml +++ b/helm/argocd/templates/network-policy.yaml @@ -36,6 +36,13 @@ specs: - port: '8083' protocol: TCP egress: + - toEndpoints: + - matchLabels: + app.kubernetes.io/name: argocd-redis + toPorts: + - ports: + - port: '6379' + protocol: TCP - toEntities: - world toPorts: