diff --git a/charts/cluster-addons/templates/csi-cinder.yaml b/charts/cluster-addons/templates/csi-cinder.yaml index e134536..b724aaf 100644 --- a/charts/cluster-addons/templates/csi-cinder.yaml +++ b/charts/cluster-addons/templates/csi-cinder.yaml @@ -26,6 +26,11 @@ extraFiles: storageclass.kubernetes.io/is-default-class: "true" {{- end }} provisioner: cinder.csi.openstack.org + parameters: + availability: {{ .availabilityZone }} + {{- with .volumeType }} + type: {{ . }} + {{- end }} reclaimPolicy: {{ .reclaimPolicy }} allowVolumeExpansion: {{ .allowVolumeExpansion }} {{- with .allowedTopologies }} diff --git a/charts/cluster-addons/values.yaml b/charts/cluster-addons/values.yaml index 0b8343b..1a44339 100644 --- a/charts/cluster-addons/values.yaml +++ b/charts/cluster-addons/values.yaml @@ -187,8 +187,12 @@ openstack: reclaimPolicy: Delete # Indicates if volume expansion is allowed allowVolumeExpansion: true + # The Cinder availability zone to use for volumes provisioned by the storage class + availabilityZone: nova + # The Cinder volume type to use for volumes provisioned by the storage class + # If not given, the default volume type will be used + volumeType: # The allowed topologies for the storage class - # If not given, the default Cinder availability zone will be used allowedTopologies: # Settings for the metrics server