about summary refs log tree commit diff
path: root/chart/templates
diff options
context:
space:
mode:
authorJames Smith <119005+jgsmith@users.noreply.github.com>2022-05-14 04:03:44 -0400
committerGitHub <noreply@github.com>2022-05-14 10:03:44 +0200
commit98400a6887f1eb67fb131433bb28a69246800c4c (patch)
tree65ec1780b66d3c0661c8adfd7b915dcc8418cd6c /chart/templates
parent42c976fd65486186e3e7d259d1fced20de7be0bb (diff)
Support STREAMING_API_BASE_URL in Helm Chart (#18408)
This adds a mastodon.streaming.base_url setting in the Helm chart values
file to allow setting the STREAMING_API_BASE_URL in the Mastodon environnment
config map.
Diffstat (limited to 'chart/templates')
-rw-r--r--chart/templates/configmap-env.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/chart/templates/configmap-env.yaml b/chart/templates/configmap-env.yaml
index 5e0620998..aa242684f 100644
--- a/chart/templates/configmap-env.yaml
+++ b/chart/templates/configmap-env.yaml
@@ -83,6 +83,9 @@ data:
   SMTP_TLS: {{ .Values.mastodon.smtp.tls | quote }}
   {{- end }}
   STREAMING_CLUSTER_NUM: {{ .Values.mastodon.streaming.workers | quote }}
+  {{- if .Values.mastodon.streaming.base_url }}
+  STREAMING_API_BASE_URL: {{ .Values.mastodon.streaming.base_url | quote }}
+  {{- end }}
   {{- if .Values.externalAuth.oidc.enabled }}
   OIDC_ENABLED: {{ .Values.externalAuth.oidc.enabled | quote }}
   OIDC_DISPLAY_NAME: {{ .Values.externalAuth.oidc.display_name }}
@@ -300,4 +303,4 @@ data:
   {{- if .Values.externalAuth.ldap.uid_conversion.replace }}
   LDAP_UID_CONVERSION_REPLACE: {{ .Values.externalAuth.ldap.uid_conversion.replace }}
   {{- end }}
-  {{- end }}
\ No newline at end of file
+  {{- end }}