Skip to content

Commit

Permalink
fix: unmount detection failure
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Jul 23, 2024
1 parent 77cc223 commit 1ce90d1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Binary file modified charts/latest/csi-driver-smb-v0.0.0.tgz
Binary file not shown.
4 changes: 4 additions & 0 deletions charts/latest/csi-driver-smb/templates/csi-smb-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ spec:
volumeMounts:
- mountPath: /csi
name: socket-dir
- name: tmp-dir
mountPath: /tmp
- mountPath: {{ .Values.linux.kubelet }}
mountPropagation: Bidirectional
name: mountpoint-dir
Expand All @@ -156,6 +158,8 @@ spec:
path: {{ .Values.linux.kubelet }}/plugins/{{ .Values.driver.name }}
type: DirectoryOrCreate
name: socket-dir
- name: tmp-dir
emptyDir: {}
- hostPath:
path: {{ .Values.linux.kubelet }}/
type: DirectoryOrCreate
Expand Down
4 changes: 4 additions & 0 deletions deploy/csi-smb-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ spec:
volumeMounts:
- mountPath: /csi
name: socket-dir
- name: tmp-dir
mountPath: /tmp
- mountPath: /var/lib/kubelet/
mountPropagation: Bidirectional
name: mountpoint-dir
Expand All @@ -129,6 +131,8 @@ spec:
path: /var/lib/kubelet/plugins/smb.csi.k8s.io
type: DirectoryOrCreate
name: socket-dir
- name: tmp-dir
emptyDir: {}
- hostPath:
path: /var/lib/kubelet/
type: DirectoryOrCreate
Expand Down

0 comments on commit 1ce90d1

Please sign in to comment.