File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,12 @@ if [ -f "/host/usr/bin/blobfuse-proxy" ];then
40
40
if [ " $old " = " $new " ]; then
41
41
updateBlobfuseProxy=" false"
42
42
echo " no need to update blobfuse-proxy"
43
- else
44
- rm -rf /host/usr/bin/blobfuse-proxy
45
- rm -rf /host/var/lib/kubelet/plugins/blob.csi.azure.com/blobfuse-proxy.sock
46
43
fi
47
44
fi
48
45
49
46
if [ " $updateBlobfuseProxy " = " true" ]; then
50
47
echo " copy blobfuse-proxy...."
48
+ rm -rf /host/var/lib/kubelet/plugins/blob.csi.azure.com/blobfuse-proxy.sock
51
49
cp /blobfuse-proxy/blobfuse-proxy /host/usr/bin/blobfuse-proxy
52
50
chmod 755 /host/usr/bin/blobfuse-proxy
53
51
fi
@@ -59,8 +57,6 @@ if [ -f "/host/usr/lib/systemd/system/blobfuse-proxy.service" ];then
59
57
if [ " $old " = " $new " ]; then
60
58
updateService=" false"
61
59
echo " no need to update blobfuse-proxy.service"
62
- else
63
- rm -rf /host/usr/lib/systemd/system/blobfuse-proxy.service
64
60
fi
65
61
fi
66
62
You can’t perform that action at this time.
0 commit comments