Skip to content

Commit

Permalink
rm /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvz committed Jun 10, 2022
1 parent 2956d81 commit 8ca7119
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions build/blobplugin/blobfuse-proxy/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ SET_MAX_OPEN_FILE_NUM=${SET_MAX_OPEN_FILE_NUM:-true}

HOST_CMD="nsenter --mount=/proc/1/ns/mnt"

cp /blobfuse-proxy/packages-microsoft-prod.deb /host/tmp/
cp /blobfuse-proxy/packages-microsoft-prod.deb /host/etc/

# install/update blobfuse
if [ "${INSTALL_BLOBFUSE}" = "true" ]
then
$HOST_CMD dpkg -i /tmp/packages-microsoft-prod.deb && \
$HOST_CMD dpkg -i /etc/packages-microsoft-prod.deb && \
$HOST_CMD apt update && \
$HOST_CMD apt-get install -y blobfuse="${BLOBFUSE_VERSION}"
fi
Expand Down
5 changes: 0 additions & 5 deletions charts/latest/blob-csi-driver/templates/csi-blob-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ spec:
- name: DISABLE_UPDATEDB
value: "{{ .Values.node.blobfuseProxy.disableUpdateDB }}"
volumeMounts:
- name: host-tmp
mountPath: /host/tmp
- name: host-usr
mountPath: /host/usr
- name: host-etc
Expand Down Expand Up @@ -226,9 +224,6 @@ spec:
resources: {{- toYaml .Values.node.resources.blob | nindent 12 }}
volumes:
{{- if .Values.node.enableBlobfuseProxy }}
- name: host-tmp
hostPath:
path: /tmp/
- name: host-usr
hostPath:
path: /usr
Expand Down
5 changes: 0 additions & 5 deletions deploy/csi-blob-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ spec:
- name: DISABLE_UPDATEDB
value: "true"
volumeMounts:
- name: host-tmp
mountPath: /host/tmp
- name: host-usr
mountPath: /host/usr
- name: host-etc
Expand Down Expand Up @@ -168,9 +166,6 @@ spec:
cpu: 10m
memory: 20Mi
volumes:
- name: host-tmp
hostPath:
path: /tmp/
- name: host-usr
hostPath:
path: /usr
Expand Down

0 comments on commit 8ca7119

Please sign in to comment.