Skip to content

Commit

Permalink
add ES_PRESET environment variable (#98)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Campbell <[email protected]>
  • Loading branch information
pqo and timetinytim authored Jan 11, 2024
1 parent da64454 commit 9cb9df9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/configmap-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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: {{ . }}
Expand Down

0 comments on commit 9cb9df9

Please sign in to comment.