fix: tmp path mount permission error
This commit is contained in:
parent
f879092675
commit
1105f9d7a3
Binary file not shown.
@ -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
|
||||
@ -174,5 +172,3 @@ spec:
|
||||
type: Directory
|
||||
- name: socket-dir
|
||||
emptyDir: {}
|
||||
- name: tmp-dir
|
||||
emptyDir: {}
|
||||
|
||||
@ -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 }}
|
||||
|
||||
@ -140,8 +140,6 @@ spec:
|
||||
mountPropagation: "Bidirectional"
|
||||
- mountPath: /csi
|
||||
name: socket-dir
|
||||
- name: tmp-dir
|
||||
mountPath: /tmp
|
||||
resources:
|
||||
limits:
|
||||
memory: 200Mi
|
||||
@ -153,7 +151,5 @@ spec:
|
||||
hostPath:
|
||||
path: /var/lib/kubelet/pods
|
||||
type: Directory
|
||||
- name: tmp-dir
|
||||
emptyDir: {}
|
||||
- name: socket-dir
|
||||
emptyDir: {}
|
||||
|
||||
@ -118,8 +118,6 @@ spec:
|
||||
volumeMounts:
|
||||
- name: socket-dir
|
||||
mountPath: /csi
|
||||
- name: tmp-dir
|
||||
mountPath: /tmp
|
||||
- name: pods-mount-dir
|
||||
mountPath: /var/lib/kubelet/pods
|
||||
mountPropagation: "Bidirectional"
|
||||
@ -134,8 +132,6 @@ spec:
|
||||
hostPath:
|
||||
path: /var/lib/kubelet/plugins/csi-nfsplugin
|
||||
type: DirectoryOrCreate
|
||||
- name: tmp-dir
|
||||
emptyDir: {}
|
||||
- name: pods-mount-dir
|
||||
hostPath:
|
||||
path: /var/lib/kubelet/pods
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user