Skip to content

Edit Agent manifest to mount node's /etc directory.#143492

Merged
yashtewari merged 2 commits intoelastic:mainfrom
yashtewari:agent-manifest-etc-full
Oct 25, 2022
Merged

Edit Agent manifest to mount node's /etc directory.#143492
yashtewari merged 2 commits intoelastic:mainfrom
yashtewari:agent-manifest-etc-full

Conversation

@yashtewari
Copy link
Copy Markdown
Contributor

Summary

Changes made on a Kubernetes node to files like /etc/passwd using Linux tools like useradd are not reflected in the mounted file on the Agent, because the tool replaces the file instead of changing it in-place.

Mounting the parent directory solves this problem.

Corresponding change made in Agent repository with: elastic/elastic-agent#1382

For maintainers

@yashtewari yashtewari requested a review from a team as a code owner October 18, 2022 05:12
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Oct 18, 2022
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

Corresponding change made in Agent repository with:
elastic/elastic-agent#1382
Copy link
Copy Markdown
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@nchaulet nchaulet added v8.6.0 release_note:skip Skip the PR/issue when compiling release notes labels Oct 24, 2022
@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@yashtewari yashtewari merged commit 8acccce into elastic:main Oct 25, 2022
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] New os user/group doesn't reflect in Cloudbeat

6 participants