Skip to content

feat: add INSTALL_BLOBFUSE env in blobfuse-proxy.yaml #513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions deploy/blobfuse-proxy/blobfuse-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ spec:
- '-c'
- |
set -xe
wget -O /tmp/packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
dpkg -i /tmp/packages-microsoft-prod.deb
apt-get update && apt-get install -y blobfuse
rm -f /tmp/packages-microsoft-prod.deb
if (( "${INSTALL_BLOBFUSE}" == "true" ))
then
wget -O /tmp/packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
dpkg -i /tmp/packages-microsoft-prod.deb
apt-get update && apt-get install -y blobfuse
rm -f /tmp/packages-microsoft-prod.deb
fi
# download blobfuse-proxy .deb package
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
dpkg -i /tmp/blobfuse-proxy-v0.1.0.deb
Expand All @@ -58,6 +61,9 @@ spec:
image: mcr.microsoft.com/oss/nginx/nginx:1.17.3-alpine
imagePullPolicy: IfNotPresent
name: sysctl-install-blobfuse-proxy
env:
- name: INSTALL_BLOBFUSE
value: "true"
resources:
requests:
cpu: 10m
Expand Down