| Giorgi Lekveishvili | 285ab62 | 2023-11-22 13:50:45 +0400 | [diff] [blame] | 1 | {{- if .Values.networkPolicies.enabled }} |
| 2 | apiVersion: networking.k8s.io/v1 |
| 3 | kind: NetworkPolicy |
| 4 | metadata: |
| 5 | name: longhorn-recovery-backend |
| gio | 16bb638 | 2025-05-21 18:42:40 +0400 | [diff] [blame^] | 6 | namespace: {{ include "release_namespace" . }} |
| Giorgi Lekveishvili | 285ab62 | 2023-11-22 13:50:45 +0400 | [diff] [blame] | 7 | spec: |
| 8 | podSelector: |
| 9 | matchLabels: |
| 10 | app: longhorn-manager |
| 11 | policyTypes: |
| 12 | - Ingress |
| 13 | ingress: |
| 14 | - ports: |
| 15 | - protocol: TCP |
| 16 | port: 9503 |
| 17 | {{- end }} |