Skip to content

Commit 15e5837

Browse files
committed
fix uninstall-driver to make it backward compatibility
1 parent 01657f5 commit 15e5837

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

deploy/uninstall-driver.sh

+7
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ if [ $ver != "master" ]; then
3333
repo="$repo/$ver"
3434
fi
3535

36+
if [[ "$#" -gt 1 ]]; then
37+
if [[ "$2" == *"blobfuse-proxy"* ]]; then
38+
echo "remove blobfuse-proxy daemonset ..."
39+
kubectl delete daemonset csi-blobfuse-proxy -n kube-system --ignore-not-found
40+
fi
41+
fi
42+
3643

3744
echo "Uninstalling Azure Blob Storage CSI driver, version: $ver ..."
3845
kubectl delete -f $repo/csi-blob-controller.yaml --ignore-not-found

0 commit comments

Comments
 (0)