File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,13 @@ spec:
3737 - ' -c'
3838 - |
3939 set -xe
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- apt-get update && apt-get install -y blobfuse
43- rm -f /tmp/packages-microsoft-prod.deb
40+ if (( "${INSTALL_BLOBFUSE}" == "true" ))
41+ then
42+ wget -O /tmp/packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
43+ dpkg -i /tmp/packages-microsoft-prod.deb
44+ apt-get update && apt-get install -y blobfuse
45+ rm -f /tmp/packages-microsoft-prod.deb
46+ fi
4447 # download blobfuse-proxy .deb package
4548 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
4649 dpkg -i /tmp/blobfuse-proxy-v0.1.0.deb
5861 image : mcr.microsoft.com/oss/nginx/nginx:1.17.3-alpine
5962 imagePullPolicy : IfNotPresent
6063 name : sysctl-install-blobfuse-proxy
64+ env :
65+ - name : INSTALL_BLOBFUSE
66+ value : " true"
6167 resources :
6268 requests :
6369 cpu : 10m
You can’t perform that action at this time.
0 commit comments