Skip to content
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

Set numeric user to comply runAsNonRoot k8s policy #409

Merged
merged 1 commit into from
Nov 26, 2021

Conversation

aleksandr-vin
Copy link
Contributor

When in k8s, container has runAsNonRoot policy and image has non-numeric user (nobody), then the deployment will fail as it cannot verify user is non-root.

Closes #406

Signed-off-by: Aleksandr Vinokurov [email protected]

When in k8s, container has `runAsNonRoot` policy and image has non-numeric user (nobody), then the deployment will fail as it cannot verify user is non-root.

Closes prometheus#406

Signed-off-by: Aleksandr Vinokurov <[email protected]>
@matthiasr
Copy link
Contributor

Thank you!

@matthiasr matthiasr merged commit 7ba3f6a into prometheus:master Nov 26, 2021
matthiasr added a commit that referenced this pull request Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Container has runAsNonRoot and image has non-numeric user (nobody), cannot verify user is non-root
2 participants