mirror of
https://github.com/mastodon/chart
synced 2025-03-15 13:31:51 +00:00
Quick rearrange for ES_PRESET, add to values file (#114)
This commit is contained in:
parent
e327416da4
commit
fba8496f01
|
@ -39,15 +39,13 @@ data:
|
||||||
ES_PORT: "9200"
|
ES_PORT: "9200"
|
||||||
{{- else if .Values.elasticsearch.hostname }}
|
{{- else if .Values.elasticsearch.hostname }}
|
||||||
ES_ENABLED: "true"
|
ES_ENABLED: "true"
|
||||||
|
ES_PRESET: {{ .Values.elasticsearch.preset | default "single_node_cluster" | quote }}
|
||||||
ES_HOST: {{ include "mastodon.elasticsearch.fullHostname" .}}
|
ES_HOST: {{ include "mastodon.elasticsearch.fullHostname" .}}
|
||||||
ES_PORT: {{ .Values.elasticsearch.port | default "9200" | quote }}
|
ES_PORT: {{ .Values.elasticsearch.port | default "9200" | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- 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: {{ . }}
|
||||||
|
|
|
@ -338,6 +338,7 @@ elasticsearch:
|
||||||
# hostname:
|
# hostname:
|
||||||
# port: 9200
|
# port: 9200
|
||||||
# tls: true
|
# tls: true
|
||||||
|
# preset: single_node_cluster
|
||||||
|
|
||||||
# This is optional, use it if you ES cluster requires authentication
|
# This is optional, use it if you ES cluster requires authentication
|
||||||
# user:
|
# user:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user