Enable configuring mountOptions, reclaimPolicy and volumeBindingMode … (#10450)

* Enable configuring mountOptions, reclaimPolicy and volumeBindingMode for cinder-csi StorageClasses

* Check if class.mount_options is defined at all, before generating the option list
This commit is contained in:
Alexander
2024-01-22 18:00:34 +01:00
committed by GitHub
parent 22bb0976d5
commit de2c4429a4
2 changed files with 22 additions and 0 deletions

View File

@ -48,3 +48,13 @@
## Make sure to source in the openstack credentials
# cinder_csi_enabled: true
# cinder_csi_controller_replicas: 1
# storage_classes:
# - name: "cinder-csi"
# provisioner: "kubernetes.io/cinder"
# mount_options:
# - "discard"
# parameters:
# type: "thin"
# availability: "nova"
# reclaim_policy: "Delete"
# volume_binding_mode: "WaitForFirstConsumer"