mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-13 08:36:54 +00:00
fix: move ec configuration from configmap to extraEnv (#2408)
This commit is contained in:
@@ -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 }}
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user