aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-09-07 08:02:19 -0700
committerGitHub <noreply@github.com>2022-09-07 08:02:19 -0700
commit91803d195e9439e8b7787f0852f40b3dd64260bf (patch)
tree3ef0764de889de793a62fbd5c948839379dd91ae
parentbe376232f1f05f73673966290a0958c70e9e6d3a (diff)
parent02c59166c0a50e2d4f203fb14929d2f398ed7431 (diff)
downloadseaweedfs-csi-driver-1.1.0.tar.xz
seaweedfs-csi-driver-1.1.0.zip
Merge pull request #87 from thedataflows/masterv1.1.0
-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