From 413439589f08012a559eb6c11e4a51afdc636b35 Mon Sep 17 00:00:00 2001 From: Viktor Kuzmin Date: Mon, 5 Sep 2022 16:58:53 +0300 Subject: Allow per pv/pvc settings for cache, concurrent writes and uid/gid maps --- deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml | 5 +++++ 1 file changed, 5 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 8e768d3..7c47649 100644 --- a/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml +++ b/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml @@ -61,6 +61,7 @@ spec: - "--endpoint=$(CSI_ENDPOINT)" - "--filer=$(SEAWEEDFS_FILER)" - "--nodeid=$(NODE_ID)" + - "--cacheDir=/var/cache/seaweedfs" env: - name: CSI_ENDPOINT value: unix:///csi/csi.sock @@ -99,6 +100,8 @@ spec: - name: tls mountPath: /var/run/secrets/app/tls {{- end }} + - name: cache + mountPath: /var/cache/seaweedfs volumes: - name: registration-dir hostPath: @@ -119,6 +122,8 @@ spec: - name: device-dir hostPath: path: /dev + - name: cache + emptyDir: {} {{- if .Values.tlsSecret }} - name: tls secret: -- cgit v1.2.3