From 92fc3a2ce8ff542f2ff7c8dfd6dfd10b035066a0 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Fri, 20 Sep 2024 18:08:49 -0400 Subject: [PATCH] feat(openebs): enable volume expansion for openebs-dual sc, set storage classes to retain --- kubernetes/thin/apps/openebs/app/helm-release.yaml | 2 ++ kubernetes/thin/apps/openebs/storage-class/dual-replica-sc.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/kubernetes/thin/apps/openebs/app/helm-release.yaml b/kubernetes/thin/apps/openebs/app/helm-release.yaml index 648c9e3..b3b30b5 100644 --- a/kubernetes/thin/apps/openebs/app/helm-release.yaml +++ b/kubernetes/thin/apps/openebs/app/helm-release.yaml @@ -51,6 +51,8 @@ spec: enabled: false storageClass: nameSuffix: single + reclaimPolicy: Retain + allowVolumeExpansion: true tolerations: # tolerate control plane - key: "node-role.kubernetes.io/control-plane" diff --git a/kubernetes/thin/apps/openebs/storage-class/dual-replica-sc.yaml b/kubernetes/thin/apps/openebs/storage-class/dual-replica-sc.yaml index 62dea56..76b5d6c 100644 --- a/kubernetes/thin/apps/openebs/storage-class/dual-replica-sc.yaml +++ b/kubernetes/thin/apps/openebs/storage-class/dual-replica-sc.yaml @@ -5,4 +5,6 @@ metadata: parameters: protocol: nvmf repl: "2" +reclaimPolicy: Retain +allowVolumeExpansion: true provisioner: io.openebs.csi-mayastor \ No newline at end of file