Files
kubernetes/pkg/volume
Rodrigo Campos 695b30e91c volume: use GetHostIDsForPod()
This commit only changes the UID/GID if user namespaces is enabled. When
it is enabled, it changes it so the hostUID and hostGID that are mapped
to the currently used UID/GID. This is needed so volumes are created
with the hostUID/hostGID and the user inside the container can read
them.

If user namespaces are disabled for this pod, this is a no-op: there is
no user namespace mapping, so the hostUID/hostGID are the same as inside
the container.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2022-08-03 19:53:22 +02:00
..
2022-06-30 16:26:24 +08:00
2022-07-26 23:24:23 -07:00
2022-07-26 13:14:05 -04:00
2022-08-03 19:53:22 +02:00
2022-08-03 19:53:22 +02:00
2021-02-28 15:17:29 -08:00
2022-08-03 19:53:22 +02:00
2021-11-17 09:07:07 +08:00