-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[paths] Add default lookup for kibana.yml at /etc/kibana #103934
Conversation
When `(KBN|KIBANA)_PATH_CONF` was introduced, we removed the fallback lookup to `/etc/kibana/kibana.yml` in elastic#67433. This environment variable was added to `/etc/default/kibana` and made available, scoped to the Kibana service for deb and rpm packages. This environment setting, however, is not available when running binaries directly and caused the regression noted in This re-adds a fallback lookup to `/etc/kibana/kibana.yml` when searching for a kibana.yml configuration. Testing 1) Install a .deb or .rpm package 2) `sudo -u kibana /usr/share/bin/kibana --version` Closes elastic#101249
Pinging @elastic/kibana-operations (Team:Operations) |
I'll attach builds for testing for in ~an hour. edit: |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
) Co-authored-by: Kibana Machine <[email protected]>
) Co-authored-by: Kibana Machine <[email protected]>
…105009) Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Jonathan Budzenski <[email protected]>
…105008) Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Jonathan Budzenski <[email protected]>
When
(KBN|KIBANA)_PATH_CONF
was introduced, we removed the fallback lookup to/etc/kibana/kibana.yml
in #67433. This environment variable was addedto
/etc/default/kibana
and made available, scoped to the Kibana servicefor deb and rpm packages. This environment setting, however, is not available
when running binaries directly and caused the regression noted in #101249.
This re-adds a fallback lookup to
/etc/kibana/kibana.yml
whensearching for a kibana.yml configuration.
Testing
sudo -u kibana /usr/share/bin/kibana --version
Closes #101249