From 943616b7ab93f0772ee355ad526f2094cfb80335 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sun, 20 Aug 2023 14:01:58 +0200 Subject: [PATCH] fix(longhorn): Use helm-chart network policies --- infrastructure/longhorn/kustomization.yaml | 4 ---- infrastructure/longhorn/release.yaml | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/infrastructure/longhorn/kustomization.yaml b/infrastructure/longhorn/kustomization.yaml index 5fe1c077b..42c292fa4 100644 --- a/infrastructure/longhorn/kustomization.yaml +++ b/infrastructure/longhorn/kustomization.yaml @@ -7,10 +7,6 @@ resources: - release.yaml - monitoring.yaml # Add network policies - - https://git.shivering-isles.com/github-mirror/longhorn/longhorn/-/raw/v1.2.3/examples/network-policy/manager-network-policy.yaml - - https://git.shivering-isles.com/github-mirror/longhorn/longhorn/-/raw/v1.2.3/examples/network-policy/instance-manager-networking.yaml - - https://git.shivering-isles.com/github-mirror/longhorn/longhorn/-/raw/v1.2.3/examples/network-policy/backing-image-manager-network-policy.yaml - - https://git.shivering-isles.com/github-mirror/longhorn/longhorn/-/raw/v1.2.3/examples/network-policy/backing-image-data-source-network-policy.yaml - ../../shared/networkpolicies/allow-from-ingress.yaml - ../../shared/networkpolicies/allow-from-monitoring.yaml patchesStrategicMerge: diff --git a/infrastructure/longhorn/release.yaml b/infrastructure/longhorn/release.yaml index 3ef5d4975..472737a2d 100644 --- a/infrastructure/longhorn/release.yaml +++ b/infrastructure/longhorn/release.yaml @@ -21,6 +21,8 @@ spec: global: cattle: systemDefaultRegistry: docker.io + networkPolicies: + enabled: true persistence: defaultClass: false defaultClassReplicaCount: 2 -- GitLab