Skip to content

Commit 3e4b35b

Browse files
authored
[csi] some fixes to support containerdv2 (#127)
Signed-off-by: v.oleynikov <[email protected]>
1 parent 41934c7 commit 3e4b35b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

images/csi-nfs/mount-points.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dirs:
22
- /var/lib/kubelet/pods
33
- /csi
4+
- /run
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dirs:
2+
- /run

templates/csi/controller.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ checksum/ca: {{ .Values.csiNfs.tlsParameters.ca | sha256sum | quote }}
2222
volumeMounts:
2323
- name: host-run
2424
mountPath: /run
25+
securityContext:
26+
readOnlyRootFilesystem: true
2527
{{- end }}
2628

2729
{{- if .Values.csiNfs.internal.featureTLSEnabled }}

0 commit comments

Comments
 (0)