fix: unmount detection failure
This commit is contained in:
parent
0c25693057
commit
e0f7b94cd0
Binary file not shown.
@ -164,8 +164,6 @@ spec:
|
|||||||
mountPropagation: "Bidirectional"
|
mountPropagation: "Bidirectional"
|
||||||
- mountPath: /csi
|
- mountPath: /csi
|
||||||
name: socket-dir
|
name: socket-dir
|
||||||
- mountPath: {{ .Values.controller.workingMountDir }}
|
|
||||||
name: tmp-dir
|
|
||||||
resources: {{- toYaml .Values.controller.resources.nfs | nindent 12 }}
|
resources: {{- toYaml .Values.controller.resources.nfs | nindent 12 }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: pods-mount-dir
|
- name: pods-mount-dir
|
||||||
@ -174,5 +172,3 @@ spec:
|
|||||||
type: Directory
|
type: Directory
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: tmp-dir
|
|
||||||
emptyDir: {}
|
|
||||||
|
|||||||
@ -108,7 +108,6 @@ spec:
|
|||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
allowPrivilegeEscalation: true
|
allowPrivilegeEscalation: true
|
||||||
readOnlyRootFilesystem: true
|
|
||||||
{{- if hasPrefix "/" .Values.image.nfs.repository }}
|
{{- if hasPrefix "/" .Values.image.nfs.repository }}
|
||||||
image: "{{ .Values.image.baseRepo }}{{ .Values.image.nfs.repository }}:{{ .Values.image.nfs.tag }}"
|
image: "{{ .Values.image.baseRepo }}{{ .Values.image.nfs.repository }}:{{ .Values.image.nfs.tag }}"
|
||||||
{{- else }}
|
{{- else }}
|
||||||
@ -140,8 +139,6 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
- name: tmp-dir
|
|
||||||
mountPath: /tmp
|
|
||||||
- name: pods-mount-dir
|
- name: pods-mount-dir
|
||||||
mountPath: {{ .Values.kubeletDir }}/pods
|
mountPath: {{ .Values.kubeletDir }}/pods
|
||||||
mountPropagation: "Bidirectional"
|
mountPropagation: "Bidirectional"
|
||||||
@ -157,8 +154,6 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: {{ .Values.kubeletDir }}/plugins/csi-nfsplugin
|
path: {{ .Values.kubeletDir }}/plugins/csi-nfsplugin
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
- name: tmp-dir
|
|
||||||
emptyDir: {}
|
|
||||||
- name: pods-mount-dir
|
- name: pods-mount-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: {{ .Values.kubeletDir }}/pods
|
path: {{ .Values.kubeletDir }}/pods
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user