aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Chiru <cristi.chiru@gmail.com>2022-09-07 12:07:19 +0300
committerCristian Chiru <cristi.chiru@gmail.com>2022-09-07 12:07:19 +0300
commit02c59166c0a50e2d4f203fb14929d2f398ed7431 (patch)
tree3ef0764de889de793a62fbd5c948839379dd91ae
parentbe376232f1f05f73673966290a0958c70e9e6d3a (diff)
downloadseaweedfs-csi-driver-02c59166c0a50e2d4f203fb14929d2f398ed7431.tar.xz
seaweedfs-csi-driver-02c59166c0a50e2d4f203fb14929d2f398ed7431.zip
fix sock path
-rw-r--r--deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml6
1 files 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