diff --git a/deploy/install-driver.sh b/deploy/install-driver.sh index 216a6010ab..b55a6de5a7 100644 --- a/deploy/install-driver.sh +++ b/deploy/install-driver.sh @@ -21,7 +21,7 @@ if [[ "$#" -gt 0 ]]; then ver="$1" fi -repo="https://raw.githubusercontent.com/kubernetes-sigs/azuredisk-csi-driver/master/deploy" +repo="https://raw.githubusercontent.com/kubernetes-sigs/azuredisk-csi-driver/$ver/deploy" if [[ "$#" -gt 1 ]]; then if [[ "$2" == *"local"* ]]; then echo "use local deploy" @@ -30,7 +30,7 @@ if [[ "$#" -gt 1 ]]; then fi if [ $ver != "master" ]; then - repo="$repo/$ver" + repo="$repo/$ver" fi echo "Installing Azure Disk CSI driver, version: $ver ..."