File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ if [[ "$#" -gt 0 ]]; then
2121 ver=" $1 "
2222fi
2323
24- repo=" https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master /deploy"
24+ repo=" https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/$ver /deploy"
2525if [[ " $# " -gt 1 ]]; then
2626 if [[ " $2 " == * " local" * ]]; then
2727 echo " use local deploy"
@@ -30,11 +30,10 @@ if [[ "$#" -gt 1 ]]; then
3030fi
3131
3232if [ $ver != " master" ]; then
33- repo=" $repo /$ver "
33+ repo=" $repo /$ver "
3434fi
3535
3636echo " Installing Azure File CSI driver, version: $ver ..."
37- kubectl apply -f $repo /crd-csi-node-info.yaml
3837kubectl apply -f $repo /rbac-csi-azurefile-controller.yaml
3938kubectl apply -f $repo /rbac-csi-azurefile-node.yaml
4039kubectl apply -f $repo /csi-azurefile-controller.yaml
You can’t perform that action at this time.
0 commit comments