Skip to content

Commit

Permalink
Merge pull request #719 from andyzhangx/fix-tmp-path-mount-issue2
Browse files Browse the repository at this point in the history
fix: unmount detection failure
  • Loading branch information
andyzhangx authored Jul 23, 2024
2 parents 0c25693 + e0f7b94 commit f879092
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
Binary file modified charts/latest/csi-driver-nfs-v0.0.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ spec:
mountPropagation: "Bidirectional"
- mountPath: /csi
name: socket-dir
- mountPath: {{ .Values.controller.workingMountDir }}
name: tmp-dir
resources: {{- toYaml .Values.controller.resources.nfs | nindent 12 }}
volumes:
- name: pods-mount-dir
Expand All @@ -174,5 +172,3 @@ spec:
type: Directory
- name: socket-dir
emptyDir: {}
- name: tmp-dir
emptyDir: {}
5 changes: 0 additions & 5 deletions charts/latest/csi-driver-nfs/templates/csi-nfs-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ spec:
drop:
- ALL
allowPrivilegeEscalation: true
readOnlyRootFilesystem: true
{{- if hasPrefix "/" .Values.image.nfs.repository }}
image: "{{ .Values.image.baseRepo }}{{ .Values.image.nfs.repository }}:{{ .Values.image.nfs.tag }}"
{{- else }}
Expand Down Expand Up @@ -140,8 +139,6 @@ spec:
volumeMounts:
- name: socket-dir
mountPath: /csi
- name: tmp-dir
mountPath: /tmp
- name: pods-mount-dir
mountPath: {{ .Values.kubeletDir }}/pods
mountPropagation: "Bidirectional"
Expand All @@ -157,8 +154,6 @@ spec:
hostPath:
path: {{ .Values.kubeletDir }}/plugins/csi-nfsplugin
type: DirectoryOrCreate
- name: tmp-dir
emptyDir: {}
- name: pods-mount-dir
hostPath:
path: {{ .Values.kubeletDir }}/pods
Expand Down

0 comments on commit f879092

Please sign in to comment.