Skip to content

Commit

Permalink
fix: do not use /var/lib/kubelet directly, use .Values.linux.kubelet …
Browse files Browse the repository at this point in the history
…instead
  • Loading branch information
slaesh committed Jan 24, 2024
1 parent b2cd37e commit d1f380e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/latest/csi-driver-smb/templates/csi-smb-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ spec:
- name: ADDRESS
value: /csi/csi.sock
- name: DRIVER_REG_SOCK_PATH
value: /var/lib/kubelet/plugins/{{ .Values.driver.name }}/csi.sock
value: {{ .Values.linux.kubelet }}/plugins/{{ .Values.driver.name }}/csi.sock
imagePullPolicy: {{ .Values.image.nodeDriverRegistrar.pullPolicy }}
volumeMounts:
- name: socket-dir
Expand Down Expand Up @@ -135,11 +135,11 @@ spec:
volumeMounts:
- mountPath: /csi
name: socket-dir
- mountPath: /var/lib/kubelet/
- mountPath: {{ .Values.linux.kubelet }}
mountPropagation: Bidirectional
name: mountpoint-dir
{{- if ne .Values.linux.krb5CacheDirectory "" }}
- mountPath: /var/lib/kubelet/kerberos/
- mountPath: {{ .Values.linux.kubelet }}/kerberos/
mountPropagation: Bidirectional
name: krb5Cache-dir
{{- end }}
Expand Down

0 comments on commit d1f380e

Please sign in to comment.