Rodrigo Campos
6f81aa6aa9
pkg/kubelet/kuberuntime: Add userns tests for NamespacesForPod
...
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
2024-07-19 12:32:57 +02:00
Akihiro Suda
8963e73f12
kubelet: fix mixing up runtime classes with runtime handlers
...
Fix issue 123906
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-03-14 08:14:48 +09:00
Giuseppe Scrivano
b2a92406ef
KEP-127: check for runtime handler userns support
...
block the creation of a pod that requires a user namespace, unless the
runtime handler has support for it.
If the pod requested for a user namespace, and the handler does not
support it then return an error regardless of the feature gate.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2024-02-27 12:01:00 +01:00
Rodrigo Campos
138e80819e
kubelet: set user namespace options
...
Set the user namespace options to use for the pod.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
2022-08-03 19:53:22 +02:00
Giuseppe Scrivano
67b38ffe6e
kubelet: propagate errors from namespacesForPod
...
it is a preparatory change for the next commit.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2022-08-03 19:53:22 +02:00
Deep Debroy
dfdf8245bb
Introduce PodHasNetwork condition for pods
...
Signed-off-by: Deep Debroy <ddebroy@gmail.com >
2022-08-01 09:51:43 -07:00