File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -37,19 +37,20 @@ spec:
37
37
- ' -c'
38
38
- |
39
39
set -xe
40
- wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
41
- dpkg -i packages-microsoft-prod.deb
40
+ wget -O /tmp/packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
41
+ dpkg -i /tmp/ packages-microsoft-prod.deb
42
42
apt-get update && apt-get install -y blobfuse
43
+ rm -f /tmp/packages-microsoft-prod.deb
43
44
# download blobfuse-proxy .deb package
44
- wget https://github.com/kubernetes-sigs/blob-csi-driver/raw/master/deploy/blobfuse-proxy/v0.1.0/blobfuse-proxy-v0.1.0.deb -O /tmp /blobfuse-proxy-v0.1.0.deb
45
+ wget -O /tmp/blobfuse-proxy-v0.1.0.deb https://github.com/kubernetes-sigs/blob-csi-driver/raw/master/deploy/blobfuse-proxy/v0.1.0/blobfuse-proxy-v0.1.0.deb
45
46
dpkg -i /tmp/blobfuse-proxy-v0.1.0.deb
46
47
mkdir -p /var/lib/kubelet/plugins/blob.csi.azure.com
47
48
echo "Enabling blobfuse proxy systemctl service"
48
49
systemctl daemon-reload
49
50
systemctl enable blobfuse-proxy
50
51
systemctl start blobfuse-proxy
51
52
echo "removing the file: /tmp/blobfuse-proxy-v0.1.0.deb"
52
- rm /tmp/blobfuse-proxy-v0.1.0.deb
53
+ rm -f /tmp/blobfuse-proxy-v0.1.0.deb
53
54
echo "waiting for blobfuse-proxy service to start"
54
55
sleep 3s
55
56
# tail blobfuse proxy logs
You can’t perform that action at this time.
0 commit comments