blob: 6e34dadfc291afc1a04e984e21d0719c2535773d [file] [log] [blame]
gioc9b92b12025-05-22 08:57:18 +04001{{- if .Values.networkPolicies.enabled }}
2apiVersion: networking.k8s.io/v1
3kind: NetworkPolicy
4metadata:
5 name: longhorn-recovery-backend
6 namespace: {{ include "release_namespace" . }}
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 }}