From 830168981ef73f1b2584260a427db2e8e97da89e Mon Sep 17 00:00:00 2001 From: Conan Scott Date: Wed, 31 Dec 2025 12:42:40 +1100 Subject: [PATCH] updates to use helm instead of yaml --- argo-helm.yaml | 29 +++++++++++++++++++ ...ral_sc.yaml => local_nvme_retain_ext4.yaml | 8 ++--- values.yaml | 8 ++--- 3 files changed, 36 insertions(+), 9 deletions(-) create mode 100644 argo-helm.yaml rename local_nvme_ephemeral_sc.yaml => local_nvme_retain_ext4.yaml (59%) diff --git a/argo-helm.yaml b/argo-helm.yaml new file mode 100644 index 0000000..cb75f36 --- /dev/null +++ b/argo-helm.yaml @@ -0,0 +1,29 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: openebs + namespace: openshift-gitops + annotations: + argocd.argoproj.io/sync-wave: "-20" +spec: + orphanedResources: + warn: false # Disable warning + project: infrastructure + destination: + server: https://kubernetes.default.svc + namespace: openebs + source: + repoURL: https://gitea.apilab.us/cscott/openebs.git + targetRevision: main + path: . + helm: + valueFiles: + - values.yaml + syncPolicy: + automated: + prune: true + selfHeal: false + syncOptions: + - CreateNamespace=true + - ApplyOutOfSyncOnly=true + - PruneLast=true diff --git a/local_nvme_ephemeral_sc.yaml b/local_nvme_retain_ext4.yaml similarity index 59% rename from local_nvme_ephemeral_sc.yaml rename to local_nvme_retain_ext4.yaml index 5c88db4..7503856 100644 --- a/local_nvme_ephemeral_sc.yaml +++ b/local_nvme_retain_ext4.yaml @@ -1,13 +1,11 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: - name: local-nvme-ephemeral - annotations: - storageclass.kubernetes.io/is-default-class: "true" + name: local-nvme-retain-ext4 provisioner: local.csi.openebs.io parameters: volgroup: vg_nvme_local - fstype: xfs -reclaimPolicy: Delete + fstype: ext4 +reclaimPolicy: Retain volumeBindingMode: WaitForFirstConsumer allowVolumeExpansion: true diff --git a/values.yaml b/values.yaml index fae9e08..ace9b7a 100644 --- a/values.yaml +++ b/values.yaml @@ -25,7 +25,7 @@ lvm-localpv: enabled: true csi: volumeSnapshots: - enabled: false + enabled: true # Refer to https://github.com/openebs/rawfile-localpv/blob/v0.11.0/deploy/helm/rawfile-localpv/values.yaml for complete set of values. rawfile-localpv: @@ -39,14 +39,14 @@ mayastor: csi: node: initContainers: - enabled: true + enabled: false etcd: # -- Kubernetes Cluster Domain clusterDomain: cluster.local localpv-provisioner: enabled: false crds: - enabled: true + enabled: false loki: enabled: false alloy: @@ -91,7 +91,7 @@ engines: enabled: false replicated: mayastor: - enabled: true + enabled: false loki: enabled: false