Skip to content

Support enabling idmap (or chown) globally #16250

@klausenbusk

Description

@klausenbusk

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

userns can be set to auto in containers.conf, which is very useful to transparently enable this feature. This causes issues with volume ownership, which can be fixed by using the idmap or chown (U) option when attaching the volume to the container. Unfortunately, the client (gitlab-runner in my case) must be modified to make passing these options possible.

It would be useful if idmap (or chown) could be enabled globally, so userns=auto can be used without requiring changes to the client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions