Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

untrusted runtime should support privileged #855

@egernst

Description

@egernst

Being able to run an untrusted runtime, such as kata-runtime, as privileged should be allowed. In this case, all device nodes, etc, would be made available to it. Note, none of the host available features would be available.

If a workload explicitly is marked as untrusted but has --privileged, allow the configuration.

I still think we should return an error if they are asking for namespaces of the host (the node).

This should address the TODO @ [1] in the short term while we wait for runtimeClass to be implemented.

[1] https://github.com/containerd/cri/blob/master/pkg/server/sandbox_run.go#L610

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions