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

Remove scheme prefix from helpers for graylog.elasticsearch.hosts. #105

Closed
wants to merge 1 commit into from
Closed

Remove scheme prefix from helpers for graylog.elasticsearch.hosts. #105

wants to merge 1 commit into from

Conversation

jpuskar
Copy link

@jpuskar jpuskar commented Feb 11, 2022

What this PR does / why we need it

This PR fixes a regression introduced by the use of the variable name GRAYLOG_ELASTICSEARCH_HOSTS introduced in PR #101.

Which issue this PR fixes

Special notes for your reviewer

I wasn't sure whether to try to append the scheme or remove the conditional. However, I chose to align with the values.yaml documentation below, where the scheme is included in the input as opposed to added by the chart. I
think trying to handle it elsewhere will end up doing string replacements, which would get messy.

https://github.com/KongZ/charts/blob/main/charts/graylog/values.yaml#L367

graylog:
  # ...
  elasticsearch:
    # ...
    # hosts: http://elasticsearch-client.graylog.svc.cluster.local:9200
    hosts: ""

Checklist

  • DCO signed
  • Chart Version bumped

@KongZ

@KongZ
Copy link
Owner

KongZ commented Feb 22, 2022

@CVirus can you review if graylog.elasticsearch.uriSSL is still required?
I've read a template, it seems that we can put the URI scheme on uriSecretKey

@CVirus
Copy link
Contributor

CVirus commented Feb 22, 2022

@KongZ LGTM

@KongZ
Copy link
Owner

KongZ commented Feb 22, 2022

@jpuskar please remove graylog.elasticsearch.uriSSL from values.yaml and README too. Then all good

@jpuskar jpuskar closed this by deleting the head repository Mar 18, 2023
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.

elasticsearch_hosts broken when using secret
3 participants