Skip to content

Commit 458686f

Browse files
committed
fix: kubeletPath issue in helm installation
1 parent 6a40795 commit 458686f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

charts/latest/csi-driver-smb/templates/csi-smb-node-windows.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ spec:
5555
fieldPath: spec.nodeName
5656
imagePullPolicy: {{ .Values.windows.image.nodeDriverRegistrar.pullPolicy }}
5757
volumeMounts:
58-
- name: kubelet-dir
59-
mountPath: "C:\\var\\lib\\kubelet"
6058
- name: plugin-dir
6159
mountPath: C:\csi
6260
- name: registration-dir
@@ -103,7 +101,7 @@ spec:
103101
privileged: true
104102
volumeMounts:
105103
- name: kubelet-dir
106-
mountPath: "C:\\var\\lib\\kubelet"
104+
mountPath: {{ .Values.kubelet.windowsPath }}\
107105
- name: plugin-dir
108106
mountPath: C:\csi
109107
- name: csi-proxy-fs-pipe

charts/latest/csi-driver-smb/templates/csi-smb-node.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ spec:
105105
volumeMounts:
106106
- mountPath: /csi
107107
name: socket-dir
108-
- mountPath: /var/lib/kubelet/
108+
- mountPath: {{ .Values.kubelet.linuxPath }}/
109109
mountPropagation: Bidirectional
110110
name: mountpoint-dir
111111
resources:
-1 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)