Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[apm-server] run as non root user #996

Merged
merged 3 commits into from
Jan 6, 2021
Merged

Conversation

jmlrt
Copy link
Member

@jmlrt jmlrt commented Dec 23, 2020

This commit update APM server pod to run with UID 1000 instead of 0 (root).

Note that GID 0 is still required due to apm-server binary default files
permissions.

Fix #785

This commit update APM server pod to run with UID 1000 instead of 0 (root).

Note that GID 0 is still required due to apm-server binary default files
permissions.

Fix elastic#785
@jmlrt jmlrt added apm-server enhancement New feature or request labels Dec 23, 2020
@jmlrt jmlrt requested a review from a team December 23, 2020 10:11
@Conky5
Copy link
Contributor

Conky5 commented Jan 4, 2021

It looks like all the apm-server tests had an issue.

@jmlrt
Copy link
Member Author

jmlrt commented Jan 5, 2021

jenkins test this please

This is required to add fsGroup
@jmlrt
Copy link
Member Author

jmlrt commented Jan 5, 2021

jenkins test this please

@jmlrt
Copy link
Member Author

jmlrt commented Jan 5, 2021

unrelated transient issue, @Conky5 PTAL

Copy link
Contributor

@Conky5 Conky5 left a comment

Choose a reason for hiding this comment

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

LGTM

@jmlrt
Copy link
Member Author

jmlrt commented Jan 6, 2021

jenkins test this please

@jmlrt jmlrt merged commit 4562fcd into elastic:master Jan 6, 2021
@jmlrt jmlrt deleted the apm-run-as-non-root branch January 6, 2021 08:33
jmlrt added a commit that referenced this pull request Jan 12, 2021
jmlrt added a commit that referenced this pull request Jan 12, 2021
@jmlrt jmlrt mentioned this pull request Feb 8, 2021
This was referenced Feb 12, 2021
@jmlrt jmlrt mentioned this pull request Feb 18, 2021
This was referenced Mar 15, 2021
@jmlrt jmlrt mentioned this pull request May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

apm-server: Run as non-root user
2 participants