-
Notifications
You must be signed in to change notification settings - Fork 214
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
Run gateway image as non-root user #1198
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem faced currently?
Currently all files needed to run gateway image are owned by root user.
Also the mission-control package is unpacked into /root directory.
This setup makes it impossible to run gateway image on k8s clusters with tight security restrictions like:
How can we solve it?
To overcome this, dedicated user should be created in the dockerfile and set as default user in the container. This user should own all the files and directories needed to run the application.
Happy to issue a PR if this gets and OK. Such improvement could improve and adoption of space cloud as most enterprise k8s clusters (and OpenShift by default) have such security requirements in place.
The text was updated successfully, but these errors were encountered: