-
Notifications
You must be signed in to change notification settings - Fork 277
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
Make NGNIX unprivileged docker images as default #289
base: main
Are you sure you want to change the base?
Make NGNIX unprivileged docker images as default #289
Conversation
Your branch is not currently up-to-date with |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
59db2bb
to
d175db6
Compare
Your branch is not currently up-to-date with |
@perangel This PR should be closed out by your work. |
Your branch is not currently up-to-date with |
d175db6
to
6446c83
Compare
Quality Gate failedFailed conditions |
Your branch is not currently up-to-date with |
What
To support non-root deployments on k8s NGINX has to be configured to work without root privileges.
There is already an official docker image of NGINX in an unprivileged mode.
Since the webapp doesn't need privileged access rights this has to be taken as the default docker image for the webapp.
How
Change the build configuration to switch to the non-privileged docker image if not explicitly overwritten by the env variable.
Recommended reading order
1-
Can this PR be safely reverted / rolled back?
🚨 User Impact 🚨
No