add ec environment variables in helm chart (#2290)

Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
majinghe
2026-03-27 09:40:30 +08:00
committed by GitHub
parent 0779036535
commit 14e4d94666
3 changed files with 10 additions and 0 deletions
+6
View File
@@ -82,3 +82,9 @@ data:
RUSTFS_SCANNER_IDLE_MODE: {{ .idle_mode | quote }}
{{- end }}
{{- end }}
{{- if .Values.mode.distributed.enabled }}
{{- with .Values.config.rustfs.ec }}
RUSTFS_ERASURE_SET_DRIVE_COUNT: {{ 16 | quote }}
RUSTFS_STORAGE_CLASS_STANDARD: {{ .storage_class_standard | quote }}
{{- end }}
{{- end }}
+2
View File
@@ -68,6 +68,8 @@ config:
# Optionally enable support for virtual-hosted-style requests.
# See more information: https://docs.rustfs.com/integration/virtual.html
domains: "" # e.g. "example.com"
ec:
storage_class_standard: "EC:4" # Storage class for standard storage class in erasure coding mode, default is "STANDARD"
log_rotation: # Specify log rotation settings
# size: 100 # Default value: 100 MB
# time: hour # Default value: hour, eg: day,hour,minute,second