fix: move ec configuration from configmap to extraEnv (#2408)

This commit is contained in:
majinghe
2026-04-07 11:00:21 +08:00
committed by GitHub
parent 898857d1c9
commit 751bc3d737
3 changed files with 5 additions and 9 deletions
-6
View File
@@ -82,9 +82,3 @@ 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 }}
+5 -2
View File
@@ -100,8 +100,11 @@ config:
extraEnv: [] # This is for setting extra environment variables in the rustfs container. It should be a list of key value pairs. For example:
# extraEnv:
# - name: RUSTFS_EXTRA_ENV
# value: "extra_value"
# - name: RUSTFS_ERASURE_SET_DRIVE_COUNT
# value: "16"
# - name: RUSTFS_STORAGE_CLASS_STANDARD
# value: "EC:4"
# This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
serviceAccount: