From 533c270d061e45f867654600bdd5e47f76e76b10 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Thu, 25 Jul 2024 15:27:50 +0200 Subject: [PATCH] address review Signed-off-by: Simon L. --- .../templates/nextcloud-aio-networkpolicy.yaml | 6 ++++++ nextcloud-aio-helm-chart/update-helm.sh | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-networkpolicy.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-networkpolicy.yaml index 7f0bdbae..8e6986b8 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-networkpolicy.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-networkpolicy.yaml @@ -8,7 +8,13 @@ metadata: spec: podSelector: matchLabels: + policyTypes: + - Ingress + - Egress ingress: - from: - podSelector: {} + egress: + - to: + - podSelector: {} {{- end }} diff --git a/nextcloud-aio-helm-chart/update-helm.sh b/nextcloud-aio-helm-chart/update-helm.sh index 7fb80ec7..3a251b00 100755 --- a/nextcloud-aio-helm-chart/update-helm.sh +++ b/nextcloud-aio-helm-chart/update-helm.sh @@ -326,9 +326,15 @@ metadata: spec: podSelector: matchLabels: + policyTypes: + - Ingress + - Egress ingress: - from: - podSelector: {} + egress: + - to: + - podSelector: {} {{- end }} EOL