aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
authorgarenchan <garenchan23@gmail.com>2022-07-07 10:39:55 +0800
committergarenchan <garenchan23@gmail.com>2022-07-07 10:39:55 +0800
commit6ddcbbdcc3f7f3ad4c5eac20cff98fe46b0566a3 (patch)
tree865285ad28cae33dd1ee2a61753d97c0365f24a2 /deploy
parent96d415ad3e121518552629f31a7cbe6eee9c76e4 (diff)
downloadseaweedfs-csi-driver-6ddcbbdcc3f7f3ad4c5eac20cff98fe46b0566a3.tar.xz
seaweedfs-csi-driver-6ddcbbdcc3f7f3ad4c5eac20cff98fe46b0566a3.zip
Pods using the same volume share mount
Diffstat (limited to 'deploy')
-rw-r--r--deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml7
1 files changed, 7 insertions, 0 deletions
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