Files
containerd/pkg
Rodrigo Campos 97dfa7f556 cri/server: Pass down uidMappings to OCI runtime
When the kubelet sends the uid/gid mappings for a mount, just pass them
down to the OCI runtime.

OCI runtimes support this since runc 1.2 and crun 1.8.1.

And whenever we add mounts (container mounts or image spec volumes) and
userns are requested by the kubelet, we use those mappings in the mounts
so the mounts are idmapped correctly. If no userns is used, we don't
send any mappings which just keeps the current behavior.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2023-09-13 16:42:31 +02:00
..
2023-02-10 10:23:59 -07:00
2023-08-26 14:31:53 -04:00
2023-05-16 10:12:50 +08:00
2022-08-04 18:18:33 -07:00
2023-05-16 10:12:50 +08:00
2023-08-26 14:31:53 -04:00
2023-08-26 14:31:53 -04:00
2023-08-26 14:31:53 -04:00
2022-10-12 14:41:01 +02:00
2021-11-16 11:06:40 +08:00
2022-07-20 22:53:42 +08:00