From e337776cdec726e674aae1722dacd9c7e680639c Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Thu, 23 May 2024 21:19:49 +0000 Subject: [PATCH] fix: take additional EBS volume into account to prevent exhausting EBS volumes limit --- charts/kubezero-storage/templates/lvm/storageclass.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/kubezero-storage/templates/lvm/storageclass.yaml b/charts/kubezero-storage/templates/lvm/storageclass.yaml index db006f0f..2060f296 100644 --- a/charts/kubezero-storage/templates/lvm/storageclass.yaml +++ b/charts/kubezero-storage/templates/lvm/storageclass.yaml @@ -9,8 +9,9 @@ metadata: annotations: storageclass.kubernetes.io/is-default-class: "true" {{- end }} -volumeBindingMode: WaitForFirstConsumer +volumeBindingMode: WaitForFirstConsumer reclaimPolicy: Delete +allowVolumeExpansion: true parameters: storage: lvm vgpattern: {{ default "openebs.*" ( index .Values "lvm-localpv" "storageClass" "vgpattern") }}