Replies: 2 comments 1 reply
-
AFAIK, group |
Beta Was this translation helpful? Give feedback.
-
True, group 0 is not the same as user 0, but is not required either, it doesn't follow the principle of least privilege. Why reusing it when best practices dictates to create a new group? Most official Docker images create their own group. Postgres Docker image: https://github.com/docker-library/postgres/blob/master/15/bullseye/Dockerfile#L21 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
strimzi user is created in the root group instead of its own group.
strimzi-kafka-operator/docker-images/operator/Dockerfile
Line 7 in 20efd44
Expected behavior
Create a strimzi group and make user belongs to it.
Environment :
Additional context
This is a security concern for our deployments, since we avoid running processes with root permissions.
Having a non root user should not represent an issue with volumes if the security context is declared correctly
I did a quick test rebuilding the image with the right security context, like above, everything works as expected
I can make a pull request if you prefer
Beta Was this translation helpful? Give feedback.
All reactions