Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tmp path mount permission error on charts #720

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified charts/v4.3.0/csi-driver-nfs-v4.3.0.tgz
Binary file not shown.
1 change: 0 additions & 1 deletion charts/v4.3.0/csi-driver-nfs/templates/csi-nfs-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
readOnlyRootFilesystem: true
image: "{{ .Values.image.nfs.repository }}:{{ .Values.image.nfs.tag }}"
args :
- "--v={{ .Values.node.logLevel }}"
Expand Down
Binary file modified charts/v4.4.0/csi-driver-nfs-v4.4.0.tgz
Binary file not shown.
1 change: 0 additions & 1 deletion charts/v4.4.0/csi-driver-nfs/templates/csi-nfs-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
readOnlyRootFilesystem: true
image: "{{ .Values.image.nfs.repository }}:{{ .Values.image.nfs.tag }}"
args :
- "--v={{ .Values.node.logLevel }}"
Expand Down
Binary file modified charts/v4.5.0/csi-driver-nfs-v4.5.0.tgz
Binary file not shown.
1 change: 0 additions & 1 deletion charts/v4.5.0/csi-driver-nfs/templates/csi-nfs-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
readOnlyRootFilesystem: true
image: "{{ .Values.image.nfs.repository }}:{{ .Values.image.nfs.tag }}"
args :
- "--v={{ .Values.node.logLevel }}"
Expand Down
Binary file modified charts/v4.6.0/csi-driver-nfs-v4.6.0.tgz
Binary file not shown.
1 change: 0 additions & 1 deletion charts/v4.6.0/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
Binary file modified charts/v4.7.0/csi-driver-nfs-v4.7.0.tgz
Binary file not shown.
1 change: 0 additions & 1 deletion charts/v4.7.0/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
Binary file modified charts/v4.8.0/csi-driver-nfs-v4.8.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: {}
1 change: 0 additions & 1 deletion charts/v4.8.0/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
4 changes: 0 additions & 4 deletions deploy/csi-nfs-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ spec:
mountPropagation: "Bidirectional"
- mountPath: /csi
name: socket-dir
- name: tmp-dir
mountPath: /tmp
resources:
limits:
memory: 200Mi
Expand All @@ -153,7 +151,5 @@ spec:
hostPath:
path: /var/lib/kubelet/pods
type: Directory
- name: tmp-dir
emptyDir: {}
- name: socket-dir
emptyDir: {}
4 changes: 0 additions & 4 deletions deploy/csi-nfs-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
Loading