yanggang
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
1 deletions
-
roles/kubernetes-apps/csi_driver/vsphere/defaults/main.yml
-
roles/kubernetes-apps/csi_driver/vsphere/templates/vsphere-csi-controller-config.yml.j2
|
|
@ -31,3 +31,7 @@ vsphere_csi_node_affinity: {} |
|
|
|
# may contain some private data, so it is recommended to set it to false |
|
|
|
# in the production environment. |
|
|
|
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" |
|
|
|
"improved-csi-idempotency": "true" |
|
|
|
"improved-volume-topology": "true" |
|
|
|
"block-volume-snapshot": "false" |
|
|
|
"block-volume-snapshot": "{{ vsphere_csi_block_volume_snapshot }}" |
|
|
|
"csi-windows-support": "false" |
|
|
|
{% if vsphere_csi_controller is version('v2.5.0', '>=') %} |
|
|
|
"use-csinode-id": "true" |
|
|
|