-
Notifications
You must be signed in to change notification settings - Fork 144
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
Fix ownership of component specs in elastic-agent docker image #5616
Fix ownership of component specs in elastic-agent docker image #5616
Conversation
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
This pull request does not have a backport label. Could you fix it @pchila? 🙏
|
|
CI will be failing until this is reverted - elastic/beats#40980 |
/test |
@jlind23 @ycombinator elastic/beats#40980 has been merged (I assume that this was the revert @jlind23 referred to) but there are still a lot of leak/integration/serverless test failures... While having |
@pchila You should be able to rebuild it and it will go away. The problem was fixed only a few minutes ago once the new unified release was available. |
/test |
Quality Gate passedIssues Measures |
We need this change for Integrations Server on ESS to spin up without errors and the CI failures are unrelated to this PR. So force merging... |
Co-authored-by: Julien Lind <[email protected]> (cherry picked from commit 1a10c3d)
#5620) Co-authored-by: Julien Lind <[email protected]> (cherry picked from commit 1a10c3d) Co-authored-by: Paolo Chilà <[email protected]>
What does this PR do?
Fix ownership of components' spec files in
<agent install dir>/data/elastic-agent-<commit>/components/*.yml
fromroot:root
to<user>:<user>
whereuser
is the default user the agent process will be started withWhy is it important?
To prevent permissions mismatches between component binaries and their spec yaml files under
../components
Checklist
[ ] My code follows the style guidelines of this project[ ] I have commented my code, particularly in hard-to-understand areas[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature works[ ] I have added an entry in./changelog/fragments
using the changelog tool[ ] I have added an integration test or an E2E testDisruptive User Impact
How to test this PR locally
Related issues
Questions to ask yourself