From 6ddcbbdcc3f7f3ad4c5eac20cff98fe46b0566a3 Mon Sep 17 00:00:00 2001 From: garenchan Date: Thu, 7 Jul 2022 10:39:55 +0800 Subject: Pods using the same volume share mount --- deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'deploy') diff --git a/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml b/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml index 60a1338..8e768d3 100644 --- a/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml +++ b/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml @@ -87,6 +87,9 @@ spec: volumeMounts: - name: plugin-dir mountPath: /csi + - name: plugins-dir + mountPath: /var/lib/kubelet/plugins + mountPropagation: "Bidirectional" - name: pods-mount-dir mountPath: /var/lib/kubelet/pods mountPropagation: "Bidirectional" @@ -105,6 +108,10 @@ spec: hostPath: path: /var/lib/kubelet/plugins/{{ .Values.driverName }} type: DirectoryOrCreate + - name: plugins-dir + hostPath: + path: /var/lib/kubelet/plugins + type: Directory - name: pods-mount-dir hostPath: path: /var/lib/kubelet/pods -- cgit v1.2.3