add variable condition snapshot in vSphere CSI (#9429)
This commit is contained in:
parent
5cf2883444
commit
ce751cb89d
2 changed files with 5 additions and 1 deletions
|
@ -31,3 +31,7 @@ vsphere_csi_node_affinity: {}
|
||||||
# may contain some private data, so it is recommended to set it to false
|
# may contain some private data, so it is recommended to set it to false
|
||||||
# in the production environment.
|
# in the production environment.
|
||||||
unsafe_show_logs: false
|
unsafe_show_logs: false
|
||||||
|
|
||||||
|
# https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/master/docs/book/features/volume_snapshot.md#how-to-enable-volume-snapshot--restore-feature-in-vsphere-csi-
|
||||||
|
# according to the above link , we can controler the block-volume-snapshot parameter
|
||||||
|
vsphere_csi_block_volume_snapshot: false
|
|
@ -11,7 +11,7 @@ data:
|
||||||
"async-query-volume": "true"
|
"async-query-volume": "true"
|
||||||
"improved-csi-idempotency": "true"
|
"improved-csi-idempotency": "true"
|
||||||
"improved-volume-topology": "true"
|
"improved-volume-topology": "true"
|
||||||
"block-volume-snapshot": "false"
|
"block-volume-snapshot": "{{ vsphere_csi_block_volume_snapshot }}"
|
||||||
"csi-windows-support": "false"
|
"csi-windows-support": "false"
|
||||||
{% if vsphere_csi_controller is version('v2.5.0', '>=') %}
|
{% if vsphere_csi_controller is version('v2.5.0', '>=') %}
|
||||||
"use-csinode-id": "true"
|
"use-csinode-id": "true"
|
||||||
|
|
Loading…
Reference in a new issue