mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-07-07 18:58:05 +00:00
Add privileged_without_host_devices support (#7343)
When privileged is enabled for a container, all the `/dev/*` block
devices from the host are mounted into the guest. The
`privileged_without_host_devices` flag prevents host devices from
being passed to privileged containers.
More information:
* https://github.com/containerd/cri/pull/1225
* https://github.com/cri-o/cri-o/commit/1d0f68156ba382651c776a44f156614c4fcf981d
(cherry picked from commit dc5df57c26)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
704a054064
commit
01e527abf1
@@ -65,6 +65,7 @@ containerd_default_runtime:
|
||||
# type: io.containerd.kata.v2
|
||||
# engine: ""
|
||||
# root: ""
|
||||
# privileged_without_host_devices: true
|
||||
containerd_runtimes: []
|
||||
|
||||
containerd_untrusted_runtime_type: ''
|
||||
|
||||
Reference in New Issue
Block a user