Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick rearrange for ES_PRESET, add to values file #114

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

timetinytim
Copy link
Contributor

Did a quick rearrange of a PR I just merged (add ES_PRESET as an option in values.yaml as the original merge with an outdated branch was a little clunky and resulted in some duplicated lines + not ideal placement.

@timetinytim timetinytim self-assigned this Jan 11, 2024
ES_HOST: {{ template "mastodon.elasticsearch.fullname" . }}-master-hl
ES_PORT: "9200"
{{- else if .Values.elasticsearch.hostname }}
ES_ENABLED: "true"
ES_PRESET: {{ .Values.elasticsearch.preset | default "single_node_cluster" | quote }}
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to define this variable is ES is enabled, wether it is through elasticsearch.enabled or with elasticsearch.hostname defined

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that makes sense. Fixed.

@timetinytim timetinytim merged commit fba8496 into main Jan 19, 2024
8 checks passed
@timetinytim timetinytim deleted the tweak-es-settings branch January 19, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants