fix: take additional EBS volume into account to prevent exhausting EBS volumes limit

This commit is contained in:
Stefan Reimer 2024-05-23 21:19:49 +00:00
parent 45dfe7726c
commit e337776cde

View File

@ -9,8 +9,9 @@ metadata:
annotations: annotations:
storageclass.kubernetes.io/is-default-class: "true" storageclass.kubernetes.io/is-default-class: "true"
{{- end }} {{- end }}
volumeBindingMode: WaitForFirstConsumer volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Delete reclaimPolicy: Delete
allowVolumeExpansion: true
parameters: parameters:
storage: lvm storage: lvm
vgpattern: {{ default "openebs.*" ( index .Values "lvm-localpv" "storageClass" "vgpattern") }} vgpattern: {{ default "openebs.*" ( index .Values "lvm-localpv" "storageClass" "vgpattern") }}