From dfe7ca6a5d0f6f6e9ed27b5bcc612988315507bf Mon Sep 17 00:00:00 2001 From: Tim Campbell Date: Fri, 19 Jan 2024 12:41:31 +0100 Subject: [PATCH] ES_PRESET defined in all enabled cases --- templates/configmap-env.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/configmap-env.yaml b/templates/configmap-env.yaml index eff5a89..f2d989e 100644 --- a/templates/configmap-env.yaml +++ b/templates/configmap-env.yaml @@ -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 }}