Skip to content

Commit f879092

Browse files
authored
Merge pull request #719 from andyzhangx/fix-tmp-path-mount-issue2
fix: unmount detection failure
2 parents 0c25693 + e0f7b94 commit f879092

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed
-44 Bytes
Binary file not shown.

charts/latest/csi-driver-nfs/templates/csi-nfs-controller.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ spec:
164164
mountPropagation: "Bidirectional"
165165
- mountPath: /csi
166166
name: socket-dir
167-
- mountPath: {{ .Values.controller.workingMountDir }}
168-
name: tmp-dir
169167
resources: {{- toYaml .Values.controller.resources.nfs | nindent 12 }}
170168
volumes:
171169
- name: pods-mount-dir
@@ -174,5 +172,3 @@ spec:
174172
type: Directory
175173
- name: socket-dir
176174
emptyDir: {}
177-
- name: tmp-dir
178-
emptyDir: {}

charts/latest/csi-driver-nfs/templates/csi-nfs-node.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ spec:
108108
drop:
109109
- ALL
110110
allowPrivilegeEscalation: true
111-
readOnlyRootFilesystem: true
112111
{{- if hasPrefix "/" .Values.image.nfs.repository }}
113112
image: "{{ .Values.image.baseRepo }}{{ .Values.image.nfs.repository }}:{{ .Values.image.nfs.tag }}"
114113
{{- else }}
@@ -140,8 +139,6 @@ spec:
140139
volumeMounts:
141140
- name: socket-dir
142141
mountPath: /csi
143-
- name: tmp-dir
144-
mountPath: /tmp
145142
- name: pods-mount-dir
146143
mountPath: {{ .Values.kubeletDir }}/pods
147144
mountPropagation: "Bidirectional"
@@ -157,8 +154,6 @@ spec:
157154
hostPath:
158155
path: {{ .Values.kubeletDir }}/plugins/csi-nfsplugin
159156
type: DirectoryOrCreate
160-
- name: tmp-dir
161-
emptyDir: {}
162157
- name: pods-mount-dir
163158
hostPath:
164159
path: {{ .Values.kubeletDir }}/pods

0 commit comments

Comments
 (0)