From 02c59166c0a50e2d4f203fb14929d2f398ed7431 Mon Sep 17 00:00:00 2001 From: Cristian Chiru Date: Wed, 7 Sep 2022 12:07:19 +0300 Subject: [PATCH] fix sock path --- deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml b/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml index f903535..be31682 100644 --- a/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml +++ b/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml @@ -37,7 +37,7 @@ spec: - name: ADDRESS value: /csi/csi.sock - name: DRIVER_REG_SOCK_PATH - value: /var/lib/kubelet/plugins/{{ .Values.driverName }}/csi.sock + value: {{ .Values.node.volumes.plugins_dir }}/{{ .Values.driverName }}/csi.sock - name: KUBE_NODE_NAME valueFrom: fieldRef: @@ -89,10 +89,10 @@ spec: - name: plugin-dir mountPath: /csi - name: plugins-dir - mountPath: /var/lib/kubelet/plugins + mountPath: {{ .Values.node.volumes.plugins_dir }} mountPropagation: "Bidirectional" - name: pods-mount-dir - mountPath: /var/lib/kubelet/pods + mountPath: {{ .Values.node.volumes.pods_mount_dir }} mountPropagation: "Bidirectional" - mountPath: /dev name: device-dir