Add prefix directories in CRI-O mounts#146
Conversation
|
Hi, sorry for the delay. Thank you for the contribution, looks good, just please fix the formatting so that "black" does not complain |
|
Also please add "Sign off" to your commits ("git commit -s --amend"). |
|
@JAORMX Hi, could you please take a look and confirm this will work with your workflow (as this was implemented based on your TODO)? |
73640cc to
839a160
Compare
|
No worries about the delay! I had a small branch mix-up - sorry about that - but everything should be fine now. |
|
This does not seem right. The "renovate[bot]" commits are already merged and should not contain your Sing-off (they should not show up in https://github.com/containers/udica/pull/146/commits). Also, please merge 5bf62a6 with the first commit ( |
Signed-off-by: Fabien Guihard <guihard.fa@gmail.com>
5bf62a6 to
4f2942d
Compare
|
@JAORMX Hi, could you please take a look and confirm this will work with your workflow (as this was implemented based on your TODO). I'd really appreciate an actual use case I could add to the tests. |
- Rename the option to mount_prefix - Apply the prefix to all container runtimes - Add a test (although a dummy one) Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
4f2942d to
41b19d3
Compare
|
@vmojzis it's been a long time, I no longer remember what it was about tbh 😕 |
|
Ok, no worries. In that case I'll leave this open for now since we don't have a clear use case (and close it in a few months unless someone comes up with up with one). |
Hi,
This PR addresses a TODO in policy.py, enhancing the handling of CRI-O mounts by adding support for a prefix directory:
I basically updated the file to handle CRI-O mounts with or without a prefix directory for Kubernetes container calls.
Cheers,
Fabien