Skip to content

Commit 9749957

Browse files
committed
fix: installation issue
1 parent 384b9c4 commit 9749957

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

deploy/install-driver.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if [[ "$#" -gt 0 ]]; then
2121
ver="$1"
2222
fi
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"
2525
if [[ "$#" -gt 1 ]]; then
2626
if [[ "$2" == *"local"* ]]; then
2727
echo "use local deploy"
@@ -30,11 +30,10 @@ if [[ "$#" -gt 1 ]]; then
3030
fi
3131

3232
if [ $ver != "master" ]; then
33-
repo="$repo/$ver"
33+
repo="$repo/$ver"
3434
fi
3535

3636
echo "Installing Azure File CSI driver, version: $ver ..."
37-
kubectl apply -f $repo/crd-csi-node-info.yaml
3837
kubectl apply -f $repo/rbac-csi-azurefile-controller.yaml
3938
kubectl apply -f $repo/rbac-csi-azurefile-node.yaml
4039
kubectl apply -f $repo/csi-azurefile-controller.yaml

0 commit comments

Comments
 (0)