aboutsummaryrefslogtreecommitdiff
path: root/k8s/charts
diff options
context:
space:
mode:
authorAndrei Kvapil <kvapss@gmail.com>2025-10-08 23:26:52 +0200
committerGitHub <noreply@github.com>2025-10-08 14:26:52 -0700
commitd0a338684c97cdd3042bc6c158ff35ab5ac16c50 (patch)
tree00fe72020438be64cb4644f36b11d1dcaadb09eb /k8s/charts
parent0125e33e4238d42b38934beb1c0d5a36ba103193 (diff)
downloadseaweedfs-d0a338684c97cdd3042bc6c158ff35ab5ac16c50.tar.xz
seaweedfs-d0a338684c97cdd3042bc6c158ff35ab5ac16c50.zip
Helm: allow specifying extraArgs for s3 (#7294)
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
Diffstat (limited to 'k8s/charts')
-rw-r--r--k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml5
-rw-r--r--k8s/charts/seaweedfs/values.yaml7
2 files changed, 10 insertions, 2 deletions
diff --git a/k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml b/k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml
index d710fecbc..0c6d52c3e 100644
--- a/k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml
+++ b/k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml
@@ -152,7 +152,10 @@ spec:
{{- if .Values.s3.auditLogConfig }}
-auditLogConfig=/etc/sw/s3_auditLogConfig.json \
{{- end }}
- -filer={{ template "seaweedfs.name" . }}-filer-client.{{ .Release.Namespace }}:{{ .Values.filer.port }}
+ -filer={{ template "seaweedfs.name" . }}-filer-client.{{ .Release.Namespace }}:{{ .Values.filer.port }} \
+ {{- range .Values.s3.extraArgs }}
+ {{ . }} \
+ {{- end }}
volumeMounts:
{{- if or (eq .Values.s3.logs.type "hostPath") (eq .Values.s3.logs.type "emptyDir") }}
- name: logs
diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml
index 2518088cc..72c5153ba 100644
--- a/k8s/charts/seaweedfs/values.yaml
+++ b/k8s/charts/seaweedfs/values.yaml
@@ -869,7 +869,7 @@ filer:
# anonymousRead: false
s3:
- enabled: false
+ enabled: true
imageOverride: null
restartPolicy: null
replicas: 1
@@ -972,6 +972,11 @@ s3:
extraEnvironmentVars:
+ # Custom command line arguments to add to the s3 command
+ # Example to fix connection idle seconds:
+ extraArgs: ["-idleTimeout=30"]
+ #extraArgs: []
+
# used to configure livenessProbe on s3 containers
#
livenessProbe: