Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added conversion logic for multiple id mapping snasphotter labels #109

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

henry118
Copy link
Member

@henry118 henry118 commented Dec 6, 2024

This PR add conversion logic for multiple id mapping snasphotter labels.

containerd/containerd#10722 introduces the multiple uid/gid mappings to containerd. The mapping entries are passed to snapshotters as labels in the format of 0:1000:1,1:110000:65536. Mappings are separated by ,.

But fuse-overlayfs program requires mappings to be separated by : when passed as parameters.

This conversion logic ensures the mappings are passed along in the correct format.

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit 563baf1 into containerd:master Dec 10, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants