install_csi_driver.sh -> main script which calls other scripts
testlib.sh -> contains certain library functions
operatorutils.go -> contains golang function for creating driver related yaml file.
sample_driver_config -> Sample File which contains key value pairs for creating driver yaml files
How to Execute?
Take a copy of sample_driver_config file and rename (according to your csi-driver)
Furnish the newly created driver config file with all the required values (including driver build number and driver yaml file name)
Manually furnish the pre-requisites (like namespaces, secrets etc.)
Execute the following command with operator build number (in the format of dell-csi-operator:v1.2.0) to create csi-operator and then csi drivers (controller and node)
sh install_csi_driver.sh ""
Wait for the script to finish and check the existence of csi-operator and controller/node by normal kubectl commands.
This script will pull the specified operator build. Unity/powermax driver has been tested. Other drivers are yet to be tested.