diff --git a/helm/rustfs/templates/configmap.yaml b/helm/rustfs/templates/configmap.yaml index e2a75a6d4..86b4b9907 100644 --- a/helm/rustfs/templates/configmap.yaml +++ b/helm/rustfs/templates/configmap.yaml @@ -19,3 +19,6 @@ data: {{- else }} RUSTFS_VOLUMES: "/data" {{- end }} + {{- if .Values.config.rustfs.domains }} + RUSTFS_SERVER_DOMAINS: {{ .Values.config.rustfs.domains | quote }} + {{- end }} \ No newline at end of file diff --git a/helm/rustfs/values.yaml b/helm/rustfs/values.yaml index e0e5a165a..addb641c9 100644 --- a/helm/rustfs/values.yaml +++ b/helm/rustfs/values.yaml @@ -58,6 +58,9 @@ config: region: "us-east-1" obs_log_directory: "/logs" obs_environment: "develop" + # Optionally enable support for virtual-hosted-style requests. + # See more information: https://docs.rustfs.com/integration/virtual.html + domains: "" # e.g. "example.com" # This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/ serviceAccount: