mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 08:18:18 +00:00
fix: move ec configuration from configmap to extraEnv (#2408)
This commit is contained in:
@@ -23,7 +23,6 @@ RustFS helm chart supports **standalone and distributed mode**. For standalone m
|
||||
| config.rustfs.console_address | string | `":9001"` | |
|
||||
| config.rustfs.console_enable | string | `"true"` | |
|
||||
| config.rustfs.domains | string | `""` | Enable virtual host mode. |
|
||||
| config.rustfs.ec.storage_class_standard | string | `EC:4` | Standard storage class environment variable. |
|
||||
| config.rustfs.log_level | string | `"info"` | |
|
||||
| config.rustfs.obs_environment | string | `"development"` | |
|
||||
| config.rustfs.obs_log_directory | string | `"/logs"` | |
|
||||
|
||||
@@ -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