Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvz committed Jun 12, 2023
1 parent 15e5837 commit 0cd1fbf
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions deploy/uninstall-driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,8 @@ if [ $ver != "master" ]; then
repo="$repo/$ver"
fi

if [[ "$#" -gt 1 ]]; then
if [[ "$2" == *"blobfuse-proxy"* ]]; then
echo "remove blobfuse-proxy daemonset ..."
kubectl delete daemonset csi-blobfuse-proxy -n kube-system --ignore-not-found
fi
fi


echo "Uninstalling Azure Blob Storage CSI driver, version: $ver ..."
kubectl delete daemonset csi-blobfuse-proxy -n kube-system --ignore-not-found
kubectl delete -f $repo/csi-blob-controller.yaml --ignore-not-found
kubectl delete -f $repo/csi-blob-node.yaml --ignore-not-found
kubectl delete -f $repo/csi-blob-driver.yaml --ignore-not-found
Expand Down

0 comments on commit 0cd1fbf

Please sign in to comment.