From 3d03a4d4a66ec882ccbaef84a220506e7cab15d9 Mon Sep 17 00:00:00 2001 From: James Hammett Date: Thu, 19 Oct 2023 16:28:39 -0600 Subject: [PATCH] add ES_PRESET --- templates/configmap-env.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/configmap-env.yaml b/templates/configmap-env.yaml index fbb8788..fe81e2e 100644 --- a/templates/configmap-env.yaml +++ b/templates/configmap-env.yaml @@ -21,6 +21,7 @@ data: ES_ENABLED: "true" ES_HOST: {{ template "mastodon.elasticsearch.fullname" . }}-master-hl ES_PORT: "9200" + ES_PRESET: {{ .Values.elasticsearch.preset | default "single_node_cluster" | quote }} {{- end }} LOCAL_DOMAIN: {{ .Values.mastodon.local_domain }} {{- with .Values.mastodon.web_domain }}