3
0
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:
Tim Campbell 2024-01-19 03:52:00 -08:00 committed by GitHub
parent e327416da4
commit fba8496f01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -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: {{ . }}

View File

@ -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: