helm: update network policy

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-11-05 11:40:43 +01:00
parent 9df3a171da
commit 5131a2f34a
3 changed files with 38 additions and 6 deletions

View file

@ -15,6 +15,22 @@ spec:
- from:
- podSelector: {}
egress:
- to:
- podSelector: {}
- {} # Allows all egress traffic
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
namespace: "{{ .Values.NAMESPACE }}"
name: nextcloud-aio-webserver-allow
spec:
podSelector:
matchExpressions:
- key: io.kompose.service
operator: In
values:
- nextcloud-aio-apache
policyTypes:
- Ingress
ingress:
- {} # Allows all ingress traffic
{{- end }}