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

Helm: frontend should not run as root and have readonly file system #919

Closed
iainsproat opened this issue Aug 12, 2022 · 2 comments · Fixed by #917 or #1335
Closed

Helm: frontend should not run as root and have readonly file system #919

iainsproat opened this issue Aug 12, 2022 · 2 comments · Fixed by #917 or #1335
Assignees
Labels
[ devops ] helm security do not use this label: please report all security vulnerabilities at [email protected]

Comments

@iainsproat
Copy link
Contributor

What package are you referring to?

Frontend, helm chart

Describe the bug

Frontend runs as root and has a writeable root file system

Additional context

openresty/docker-openresty#119

Proposed Solution (if any)

Mount a temp volume to a known endpoint, and amend the nginx.conf to write to paths on that volume.

Update the helm chart to run frontend as a non root user and a non-writeable root file system.

@iainsproat iainsproat added helm security do not use this label: please report all security vulnerabilities at [email protected] labels Aug 12, 2022
@iainsproat iainsproat self-assigned this Aug 12, 2022
@iainsproat
Copy link
Contributor Author

Re-opening as the PR was reverted in #929

@iainsproat
Copy link
Contributor Author

Can we run frontend-2 on distroless? https://gist.github.com/fujista/e72de54536aa0656f74cf9da81eb40da

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[ devops ] helm security do not use this label: please report all security vulnerabilities at [email protected]
Projects
None yet
2 participants