-
Notifications
You must be signed in to change notification settings - Fork 114
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
Possibility to run as readOnlyRootFilesysystem #624
Comments
Just to make sure I'm on the right track: we'd first need to allow setting container-level Because it doesn't seem to be currently possible. We have Oh, and I I'll continue poking at this under the assumption that all of the above are correct 🙂 but any feedback is welcome. |
It is not that complicated, it is sufficient to use an emptyDir and mount it to /tmp. This is because readOnlyRootFilesystem is not used wirh mount points. |
Yeah @radu-gheorghe , Thomas is not saying that we need to be able to specify |
OK, so I'll change And I'll also try to test with |
In Openshift environments (may in others too) it is possible to restrict containers with SecurityContextConstraints (SCC).
Especial setting the root filesystem to read only would increase security.
Currently the init container
setup-zk
? is preventing read only root filesystem, as it is writing to/tmp
.So if this container would mount an
emptyDir
to /tmp it would be possible to set the root filesystem to read only.The text was updated successfully, but these errors were encountered: