mirror of
https://github.com/mastodon/chart
synced 2025-03-15 13:31:51 +00:00
add ES_PRESET environment variable (#98)
Co-authored-by: Tim Campbell <timetinytim@gmail.com>
This commit is contained in:
parent
da64454fc3
commit
9cb9df98b6
|
@ -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 }}
|
||||||
|
@ -44,6 +45,9 @@ data:
|
||||||
{{- with .Values.elasticsearch.user }}
|
{{- with .Values.elasticsearch.user }}
|
||||||
ES_USER: {{ . }}
|
ES_USER: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.elasticsearch.user }}
|
||||||
|
ES_USER: {{ . }}
|
||||||
|
{{- end }}
|
||||||
LOCAL_DOMAIN: {{ .Values.mastodon.local_domain }}
|
LOCAL_DOMAIN: {{ .Values.mastodon.local_domain }}
|
||||||
{{- with .Values.mastodon.web_domain }}
|
{{- with .Values.mastodon.web_domain }}
|
||||||
WEB_DOMAIN: {{ . }}
|
WEB_DOMAIN: {{ . }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user