mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-16 17:20:33 +00:00
feat: Be able to set region from Helm chart (#1119)
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
@@ -8,6 +8,9 @@ data:
|
||||
RUSTFS_OBS_LOG_DIRECTORY: {{ .Values.config.rustfs.obs_log_directory | quote }}
|
||||
RUSTFS_CONSOLE_ENABLE: {{ .Values.config.rustfs.console_enable | quote }}
|
||||
RUSTFS_OBS_LOGGER_LEVEL: {{ .Values.config.rustfs.log_level | quote }}
|
||||
{{- if .Values.config.rustfs.region }}
|
||||
RUSTFS_REGION: {{ .Values.config.rustfs.region | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.mode.distributed.enabled }}
|
||||
{{- if eq (int .Values.replicaCount) 4 }}
|
||||
RUSTFS_VOLUMES: "http://{{ include "rustfs.fullname" . }}-{0...3}.{{ include "rustfs.fullname" . }}-headless:9000/data/rustfs{0...3}"
|
||||
|
||||
@@ -41,6 +41,7 @@ config:
|
||||
rust_log: "debug"
|
||||
console_enable: "true"
|
||||
obs_log_directory: "/logs"
|
||||
region: "us-east-1"
|
||||
|
||||
# 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