bug: support jail sub-mounting single file#182
bug: support jail sub-mounting single file#182Uburro merged 1 commit intonebius:devfrom CrackedPoly:dev
Conversation
Signed-off-by: Luo Jian <crackedpoly@outlook.com>
|
LGTM. @CrackedPoly thanks. I need to make some test before merging it |
|
it's ok |
|
By "configurable permissions" I meant user/group ownerships and permission bits, which can't be done via K8s spec. But supporting K8s' volumeMount readOnly option will also be useful! Thanks for the PR @CrackedPoly |
|
We actually have an idea to allow the execution of custom scripts in container entrypoints (by replacing the currently unused security limits ConfigMap). Plus, one more script that is executed once after the cluster is created. So such things can be done there, though not in a very user-friendly manner. |
I like this "hook" idea, and I vote for it. |
Bug
Support mounting a single file to jail. For example, if we define volumes and mounts as follows, codes won't work before this PR.
Another thing
I think the feature of configurable permission should be set at K8S VolumeMount (field
readOnly) and I can implement this feature. Any suggestions of opinions?