-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Limit _FILE env var support to specific vars #52525
Limit _FILE env var support to specific vars #52525
Conversation
Closes elastic#52503. Implement a list of `_FILE` env vars that will be used to populate env vars with file content, instead of processing all `_FILE` vars in the environment.
Pinging @elastic/es-core-infra (:Core/Infra/Packaging) |
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, but why do we have ES_JAVA_OPTS file when you can already have jvm.options file, especially now that there is jvm.options.d?
This short and somewhat poor answer is, an existing test depended on it. I did consider whether we wanted to support |
Also add a test case for KEYSTORE_PASSWORD_FILE
@rjernst I removed |
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 run elasticsearch-ci/packaging-matrix-unix |
@elasticmachine update branch |
Backport of elastic#52525. Closes elastic#52503. Implement a list of `_FILE` env vars that will be used to populate env vars with file content, instead of processing all `_FILE` vars in the environment.
Backport of elastic#52525. Closes elastic#52503. Implement a list of `_FILE` env vars that will be used to populate env vars with file content, instead of processing all `_FILE` vars in the environment.
Please use a top-level label (e.g., bug, enhancement, feature, etc.) for each PR, as this is used for generating the release notes. |
Closes #52503. Implement a list of
_FILE
env vars that will be used topopulate env vars with file content, instead of processing all
_FILE
vars in the environment.