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