From 315cb5eab714abf35d5e04a2c625425fce6c83a7 Mon Sep 17 00:00:00 2001 From: Viktor Kuzmin Date: Fri, 17 Nov 2023 16:24:49 +0200 Subject: [PATCH] Allow to configure default concurrentWrites --- deploy/helm/seaweedfs-csi-driver/templates/daemonset.yaml | 3 +++ deploy/helm/seaweedfs-csi-driver/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yaml b/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yaml index 38da2c7..9f0a8d2 100644 --- a/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yaml +++ b/deploy/helm/seaweedfs-csi-driver/templates/daemonset.yaml @@ -49,6 +49,9 @@ spec: - --dataCenter=$(DATACENTER) {{- end }} - --components=node + {{- with .Values.concurrentWriters }} + - --concurrentWriters={{ . }} + {{- end }} env: - name: CSI_ENDPOINT value: unix:///csi/csi.sock diff --git a/deploy/helm/seaweedfs-csi-driver/values.yaml b/deploy/helm/seaweedfs-csi-driver/values.yaml index 1689186..ecd92b0 100644 --- a/deploy/helm/seaweedfs-csi-driver/values.yaml +++ b/deploy/helm/seaweedfs-csi-driver/values.yaml @@ -5,6 +5,8 @@ isDefaultStorageClass: false tlsSecret: "" #logVerbosity: 4 +#concurrentWriters: 32 + imagePullPolicy: "IfNotPresent" #imagePullSecrets: