Skip to content

Commit 39a92ce

Browse files
authored
[csi] fixes for containerd v2 support (#128)
Signed-off-by: v.oleynikov <[email protected]>
1 parent 3e4b35b commit 39a92ce

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

templates/csi/controller.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -129,18 +129,10 @@ checksum/ca: {{ .Values.csiNfs.tlsParameters.ca | sha256sum | quote }}
129129
{{- end }}
130130

131131

132-
{{- define "nfsv3_container_volume" }}
133-
{{- if .Values.csiNfs.v3support }}
134-
- name: run-rpcbind-sock
135-
hostPath:
136-
path: /run/rpcbind.sock
137-
{{- end }}
138-
{{- end }}
139-
140132
{{- define "nfsv3_container_volume_mounts" }}
141133
{{- if .Values.csiNfs.v3support }}
142-
- name: run-rpcbind-sock
143-
mountPath: /run/rpcbind.sock
134+
- name: host-run
135+
mountPath: /run
144136
{{- end }}
145137
{{- end }}
146138

@@ -183,7 +175,6 @@ storage.deckhouse.io/csi-nfs-node: ""
183175
emptyDir: {}
184176

185177
{{- include "csi_init_containers_volume" . }}
186-
{{- include "nfsv3_container_volume" . }}
187178
{{- end }}
188179

189180
{{- define "csi_additional_controller_volume_mounts" }}
@@ -259,7 +250,6 @@ storage.deckhouse.io/csi-nfs-node: ""
259250
{{- define "csi_additional_node_volume" }}
260251
{{- include "csi_init_containers_volume" . }}
261252
{{- include "csi_tlshd_container_volume" . }}
262-
{{- include "nfsv3_container_volume" . }}
263253
- name: tmp-dir
264254
emptyDir: {}
265255
{{- end }}

0 commit comments

Comments
 (0)