diff --git a/infrastructure/longhorn/kustomization.yaml b/infrastructure/longhorn/kustomization.yaml index 5fe1c077b91b75cebd47f54c61a40aa4ff66d1d1..42c292fa422b44be45b62c47a518a26eab35c26f 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 3ef5d4975170321688db1c184432553f0c5c49c2..472737a2d0928eaed8f7d9c58a856fb3b9562095 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