Skip to content

CDI-injected bind-mount inaccessible for pods created with hostUsers: false #287

@klihub

Description

@klihub

kubernetes/kubernetes#134604 reported against kubernetes proper is actually a problem with CDI. See the original issue for details and discussion.

As a short summary, when a pod is running with hostUsers: false, then all mounts should (and kubelet-requested runtime-injected ones will) have UID- and GID-mappings. Since CDI inject mounts without any UID- and GID-mappings containers trying to access CDI-injected bind-mounted directories will fail with EPERM unless the mounted directory has at least 0666 permissions set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions