3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 04:53:21 +00:00

ES_PRESET defined in all enabled cases

This commit is contained in:
Tim Campbell 2024-01-19 12:41:31 +01:00
parent 2b5dd1ac75
commit dfe7ca6a5d

View File

@ -34,6 +34,7 @@ data:
DEFAULT_LOCALE: {{ .Values.mastodon.locale }} DEFAULT_LOCALE: {{ .Values.mastodon.locale }}
{{- if .Values.elasticsearch.enabled }} {{- if .Values.elasticsearch.enabled }}
ES_ENABLED: "true" ES_ENABLED: "true"
ES_PRESET: {{ .Values.elasticsearch.preset | default "single_node_cluster" | quote }}
ES_HOST: {{ template "mastodon.elasticsearch.fullname" . }}-master-hl ES_HOST: {{ template "mastodon.elasticsearch.fullname" . }}-master-hl
ES_PORT: "9200" ES_PORT: "9200"
{{- else if .Values.elasticsearch.hostname }} {{- else if .Values.elasticsearch.hostname }}