3
0
mirror of https://github.com/mastodon/chart synced 2024-10-22 10:52:44 +00:00

add ES_PRESET environment variable (#98)

Co-authored-by: Tim Campbell <timetinytim@gmail.com>
This commit is contained in:
James Hammett 2024-01-11 05:19:42 -07:00 committed by GitHub
parent da64454fc3
commit 9cb9df98b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ data:
DEFAULT_LOCALE: {{ .Values.mastodon.locale }}
{{- if .Values.elasticsearch.enabled }}
ES_ENABLED: "true"
ES_PRESET: {{ .Values.elasticsearch.preset | default "single_node_cluster" | quote }}
ES_HOST: {{ template "mastodon.elasticsearch.fullname" . }}-master-hl
ES_PORT: "9200"
{{- else if .Values.elasticsearch.hostname }}
@ -44,6 +45,9 @@ data:
{{- with .Values.elasticsearch.user }}
ES_USER: {{ . }}
{{- end }}
{{- with .Values.elasticsearch.user }}
ES_USER: {{ . }}
{{- end }}
LOCAL_DOMAIN: {{ .Values.mastodon.local_domain }}
{{- with .Values.mastodon.web_domain }}
WEB_DOMAIN: {{ . }}