diff --git a/helm/rustfs/templates/configmap.yaml b/helm/rustfs/templates/configmap.yaml index 910ec874..132ff4c2 100644 --- a/helm/rustfs/templates/configmap.yaml +++ b/helm/rustfs/templates/configmap.yaml @@ -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}" diff --git a/helm/rustfs/values.yaml b/helm/rustfs/values.yaml index 17d23c43..851651ca 100644 --- a/helm/rustfs/values.yaml +++ b/helm/rustfs/values.yaml @@ -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: