Fix ownership of component specs in elastic-agent docker image#5616
Fix ownership of component specs in elastic-agent docker image#5616ycombinator merged 2 commits intoelastic:mainfrom
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 |
|
|
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 <julien.lind@elastic.co> (cherry picked from commit 1a10c3d)





What does this PR do?
Fix ownership of components' spec files in
<agent install dir>/data/elastic-agent-<commit>/components/*.ymlfromroot:rootto<user>:<user>whereuseris 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
../componentsChecklist
[ ] 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/fragmentsusing 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