aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
authorViktor Kuzmin <kvaster@gmail.com>2022-09-05 16:58:53 +0300
committerViktor Kuzmin <kvaster@gmail.com>2022-09-05 16:58:53 +0300
commit413439589f08012a559eb6c11e4a51afdc636b35 (patch)
treef0d61b04b565edc0952a6d149c766b70566f94bf /deploy
parenta5808d5f084cb0194bda12aa68ba1807ac213926 (diff)
downloadseaweedfs-csi-driver-413439589f08012a559eb6c11e4a51afdc636b35.tar.xz
seaweedfs-csi-driver-413439589f08012a559eb6c11e4a51afdc636b35.zip
Allow per pv/pvc settings for cache, concurrent writes and uid/gid maps
Diffstat (limited to 'deploy')
-rw-r--r--deploy/helm/seaweedfs-csi-driver/templates/daemonset.yml5
1 files changed, 5 insertions, 0 deletions
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: