From 5b751df405a8940c8e1ed848bf6bf5e7643cba03 Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Sun, 4 Aug 2024 20:31:30 +0100 Subject: [PATCH] Update longhorn namespace --- clusters/kairos/longhorn/helmrelease.yaml | 1 - clusters/kairos/longhorn/helmrepo.yaml | 1 - clusters/kairos/longhorn/kustomization.yaml | 3 ++- clusters/kairos/longhorn/namespace.yaml | 4 ++++ 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 clusters/kairos/longhorn/namespace.yaml diff --git a/clusters/kairos/longhorn/helmrelease.yaml b/clusters/kairos/longhorn/helmrelease.yaml index 56b39b6..cc20b4c 100644 --- a/clusters/kairos/longhorn/helmrelease.yaml +++ b/clusters/kairos/longhorn/helmrelease.yaml @@ -3,7 +3,6 @@ apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: longhorn-release - namespace: longhorn-system spec: chart: spec: diff --git a/clusters/kairos/longhorn/helmrepo.yaml b/clusters/kairos/longhorn/helmrepo.yaml index 122be45..8bb32de 100644 --- a/clusters/kairos/longhorn/helmrepo.yaml +++ b/clusters/kairos/longhorn/helmrepo.yaml @@ -3,7 +3,6 @@ apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: longhorn-repo - namespace: longhorn-system spec: interval: 1m0s url: https://charts.longhorn.io diff --git a/clusters/kairos/longhorn/kustomization.yaml b/clusters/kairos/longhorn/kustomization.yaml index 364d5a6..b24de8d 100644 --- a/clusters/kairos/longhorn/kustomization.yaml +++ b/clusters/kairos/longhorn/kustomization.yaml @@ -1,6 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: kube-system +namespace: longhorn-system resources: +- namespace.yaml - helmrepo.yaml - helmrelease.yaml \ No newline at end of file diff --git a/clusters/kairos/longhorn/namespace.yaml b/clusters/kairos/longhorn/namespace.yaml new file mode 100644 index 0000000..2bb0005 --- /dev/null +++ b/clusters/kairos/longhorn/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: longhorn-system \ No newline at end of file