-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Elasticsearch 7.6.0 cannot be used as service in GitLab pipeline anymore #52503
Comments
Pinging @elastic/es-core-infra (:Core/Infra/Packaging) |
@pugnascotia Can you take a look? |
This is caused by #49182. We implemented a generic mechanism for sourcing secrets from files instead of environment variables, by settings However, as far as I can tell there are only really two variables where we might want this behaviour. We could apply this mechanism only for recognised variables. @jasontedor what do you think? I think that would be better than skipping processing of |
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.
Closes #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.
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.
Starting with version 7.6.0 Elasticsearch cannot be started as service in a Gitlab pipeline anymore.
Gitlab sets a
CI_SERVER_TLS_CA_FILE
variable which contains a path to a file.It seems that this variable is now expanded to contain the content of the file.
I am not completely sure if this is an Elasticsearch issue or not, but I figured out that Elasticsearch does some environment variable processing and it could very well be the cause of this issue:
https://github.com/elastic/elasticsearch/blob/v7.6.0/distribution/src/bin/elasticsearch-env-from-file
The text was updated successfully, but these errors were encountered: