blob: cebe4854a9d960f7b735a91e0238abf8748008e0 [file] [log] [blame]
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +04001{{- if .Values.networkPolicies.enabled }}
2apiVersion: networking.k8s.io/v1
3kind: NetworkPolicy
4metadata:
5 name: longhorn-recovery-backend
6 namespace: longhorn-system
7spec:
8 podSelector:
9 matchLabels:
10 app: longhorn-manager
11 policyTypes:
12 - Ingress
13 ingress:
14 - ports:
15 - protocol: TCP
16 port: 9503
17{{- end }}