mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-08 23:04:46 +08:00
Helm: allow specifying extraArgs for s3 (#7294)
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
@@ -152,7 +152,10 @@ spec:
|
|||||||
{{- if .Values.s3.auditLogConfig }}
|
{{- if .Values.s3.auditLogConfig }}
|
||||||
-auditLogConfig=/etc/sw/s3_auditLogConfig.json \
|
-auditLogConfig=/etc/sw/s3_auditLogConfig.json \
|
||||||
{{- end }}
|
{{- 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:
|
volumeMounts:
|
||||||
{{- if or (eq .Values.s3.logs.type "hostPath") (eq .Values.s3.logs.type "emptyDir") }}
|
{{- if or (eq .Values.s3.logs.type "hostPath") (eq .Values.s3.logs.type "emptyDir") }}
|
||||||
- name: logs
|
- name: logs
|
||||||
|
|||||||
@@ -869,7 +869,7 @@ filer:
|
|||||||
# anonymousRead: false
|
# anonymousRead: false
|
||||||
|
|
||||||
s3:
|
s3:
|
||||||
enabled: false
|
enabled: true
|
||||||
imageOverride: null
|
imageOverride: null
|
||||||
restartPolicy: null
|
restartPolicy: null
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@@ -972,6 +972,11 @@ s3:
|
|||||||
|
|
||||||
extraEnvironmentVars:
|
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
|
# used to configure livenessProbe on s3 containers
|
||||||
#
|
#
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|||||||
Reference in New Issue
Block a user