Skip to content

Commit f15c615

Browse files
authored
Merge pull request #812 from andyzhangx/fix-tmp-mount-permission
fix: tmp path mount permission issue
2 parents ff42058 + 60ccb9e commit f15c615

File tree

15 files changed

+0
-30
lines changed

15 files changed

+0
-30
lines changed
-30 Bytes
Binary file not shown.

charts/v1.11.0/csi-driver-smb/templates/csi-smb-controller.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,10 @@ spec:
123123
value: unix:///csi/csi.sock
124124
securityContext:
125125
privileged: true
126-
readOnlyRootFilesystem: true
127126
volumeMounts:
128127
- mountPath: /csi
129128
name: socket-dir
130-
- mountPath: {{ .Values.controller.workingMountDir }}
131-
name: tmp-dir
132129
resources: {{- toYaml .Values.controller.resources.smb | nindent 12 }}
133130
volumes:
134131
- name: socket-dir
135132
emptyDir: {}
136-
- name: tmp-dir
137-
emptyDir: {}

charts/v1.11.0/csi-driver-smb/templates/csi-smb-node.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ spec:
129129
apiVersion: v1
130130
fieldPath: spec.nodeName
131131
securityContext:
132-
readOnlyRootFilesystem: true
133132
privileged: true
134133
volumeMounts:
135134
- mountPath: /csi
-29 Bytes
Binary file not shown.

charts/v1.12.0/csi-driver-smb/templates/csi-smb-controller.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,10 @@ spec:
123123
value: unix:///csi/csi.sock
124124
securityContext:
125125
privileged: true
126-
readOnlyRootFilesystem: true
127126
volumeMounts:
128127
- mountPath: /csi
129128
name: socket-dir
130-
- mountPath: {{ .Values.controller.workingMountDir }}
131-
name: tmp-dir
132129
resources: {{- toYaml .Values.controller.resources.smb | nindent 12 }}
133130
volumes:
134131
- name: socket-dir
135132
emptyDir: {}
136-
- name: tmp-dir
137-
emptyDir: {}

charts/v1.12.0/csi-driver-smb/templates/csi-smb-node.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ spec:
129129
apiVersion: v1
130130
fieldPath: spec.nodeName
131131
securityContext:
132-
readOnlyRootFilesystem: true
133132
privileged: true
134133
volumeMounts:
135134
- mountPath: /csi
-22 Bytes
Binary file not shown.

charts/v1.13.0/csi-driver-smb/templates/csi-smb-controller.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,18 +131,13 @@ spec:
131131
value: unix:///csi/csi.sock
132132
securityContext:
133133
privileged: true
134-
readOnlyRootFilesystem: true
135134
capabilities:
136135
drop:
137136
- ALL
138137
volumeMounts:
139138
- mountPath: /csi
140139
name: socket-dir
141-
- mountPath: {{ .Values.controller.workingMountDir }}
142-
name: tmp-dir
143140
resources: {{- toYaml .Values.controller.resources.smb | nindent 12 }}
144141
volumes:
145142
- name: socket-dir
146143
emptyDir: {}
147-
- name: tmp-dir
148-
emptyDir: {}

charts/v1.13.0/csi-driver-smb/templates/csi-smb-node.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ spec:
136136
apiVersion: v1
137137
fieldPath: spec.nodeName
138138
securityContext:
139-
readOnlyRootFilesystem: true
140139
privileged: true
141140
capabilities:
142141
drop:
-28 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)