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

Use numeric user id to pass runAsNonRoot on Kubernetes #97

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sathieu
Copy link

@sathieu sathieu commented Jun 4, 2024

Without this, we have:

container has runAsNonRoot and image has non-numeric user (memcache), cannot verify user is non-root

@LaurentGoderre
Copy link
Member

I think this would be best address in your k8s deployment rather than in the image itself

@sathieu
Copy link
Author

sathieu commented Jun 4, 2024

@LaurentGoderre Yes, we can do this, and hope the UID is not changed (it probably won't).

Merging this PR will reduce friction when using this image.

@tianon
Copy link
Member

tianon commented Jun 4, 2024

Duplicate of #79

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.

3 participants