diff --git a/roles/kubernetes-apps/csi_driver/vsphere/defaults/main.yml b/roles/kubernetes-apps/csi_driver/vsphere/defaults/main.yml index 0a4d02d96..549a88b46 100644 --- a/roles/kubernetes-apps/csi_driver/vsphere/defaults/main.yml +++ b/roles/kubernetes-apps/csi_driver/vsphere/defaults/main.yml @@ -34,4 +34,7 @@ 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 \ No newline at end of file +vsphere_csi_block_volume_snapshot: false + +external_vsphere_user: "{{ lookup('env','VSPHERE_USER') }}" +external_vsphere_password: "{{ lookup('env','VSPHERE_PASSWORD') }}"