Want to run with security context #120

Closed
opened 2021-02-22 16:46:40 +00:00 by Dunky13 · 1 comment
Contributor

When running this application with a security context where the gitea pod is not allowed to run as a root user, it does not get full gitea access, as the docker image is build on root access, and the entrypoint does some root/user-id magic to make it work.

Is it possible to get the helm chart updated to allow non-root securityContext. As the init container requires root, and the gitea container seems to need is, but why?

When running this application with a security context where the gitea pod is not allowed to run as a root user, it does not get full gitea access, as the docker image is build on root access, and the entrypoint does some root/user-id magic to make it work. Is it possible to get the helm chart updated to allow non-root securityContext. As the `init` container requires root, and the `gitea` container seems to need is, but why?

There is also a rootless version of the gitea container that you could try using.

Root is used in standard container due to historical reasons of packaging opensshd which bound to a port that needed root permissions, as we didn't want to create a breaking change that is why we now also offer the rootless version.

There is also a rootless version of the gitea container that you could try using. Root is used in standard container due to historical reasons of packaging opensshd which bound to a port that needed root permissions, as we didn't want to create a breaking change that is why we now also offer the rootless version.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gitea/helm-gitea#120
No description provided.