vsphere-tmm / helm-charts

A repository of unofficial helm charts for vSphere components
https://vsphere-tmm.github.io/helm-charts/
21 stars 27 forks source link

Add reclaimPolicy in the storageclass.yaml template #67

Closed cdtzabra closed 9 months ago

cdtzabra commented 10 months ago

Hello

can you add the reclaimPolicy in the storageclass tempate: https://github.com/vsphere-tmm/helm-charts/blob/master/charts/vsphere-csi/templates/storageclass.yaml ?

User should be able to choose Retain or Delete when storageclass is enabled

See the odc example: https://docs.openshift.com/container-platform/4.9/storage/container_storage_interface/persistent-storage-csi-vsphere.html#persistent-storage-csi-vsphere-stor-policy_persistent-storage-csi-vsphere

Currently as a workaround, I have to create the storageclass separetely by myself while the chart could do it directly

MaxRink commented 9 months ago

https://github.com/vsphere-tmm/helm-charts/pull/72 should add it

cdtzabra commented 9 months ago

thanks