From 17168abbcccd00f5b6018a9e87bb86617220f04e Mon Sep 17 00:00:00 2001 From: Alexander Bradley Date: Sun, 27 Nov 2022 15:33:49 -0600 Subject: [PATCH] Add alternate domains to chart --- templates/configmap-env.yaml | 3 +++ values.yaml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/templates/configmap-env.yaml b/templates/configmap-env.yaml index 5d0b96d..5da6895 100644 --- a/templates/configmap-env.yaml +++ b/templates/configmap-env.yaml @@ -25,6 +25,9 @@ data: {{- if .Values.mastodon.web_domain }} WEB_DOMAIN: {{ .Values.mastodon.web_domain }} {{- end }} + {{- if .Values.mastodon.alternate_domains }} + ALTERNATE_DOMAINS: {{ join "," .Values.mastodon.alternate_domains }} + {{- end }} {{- if .Values.mastodon.singleUserMode }} SINGLE_USER_MODE: "true" {{- end }} diff --git a/values.yaml b/values.yaml index 07171fc..1328f0f 100644 --- a/values.yaml +++ b/values.yaml @@ -30,6 +30,11 @@ mastodon: # Use of WEB_DOMAIN requires careful consideration: https://docs.joinmastodon.org/admin/config/#federation # You must redirect the path LOCAL_DOMAIN/.well-known/ to WEB_DOMAIN/.well-known/ as described # web_domain: mastodon.example.com + # If you have multiple domains pointed at your Mastodon server, this setting will allow Mastodon to recognize + # itself when users are addressed using those other domains. + # alternate_domains: + # - foo.com + # - bar.com # If set to true, the frontpage of your Mastodon server will always redirect to the first profile in the database and registrations will be disabled. singleUserMode: false persistence: