-
Notifications
You must be signed in to change notification settings - Fork 549
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
runAsGroup
vs supplementalGroups
#1180
Comments
runAsGroup
vs supplementalGroups
cc @opencontainers/runc-maintainers too |
Image spec covers how to convert values over from config.User to runtime config.json. Runtime spec only specifies the processing of final values for uid/gid/groups as set in the config.json.
What we have missing is the runtime override behavior that @thockin comments here cover: There isn't a clear place for it in OCI as we don't define an API/CLI for higher level runtimes in the runtime spec. Possible choices:
|
There is a thread going on in k8s KEP regarding subtle and inconsistent behaviors between
runAsGroup
andsupplementalGroups
.@thockin summarizes here: kubernetes/enhancements#3620 (comment)
It sounds like runtime-spec and runc may currently be inconsistent/broken, but to "fix" it would be potentially a breaking change.
cc @opencontainers/runtime-spec-maintainers
The text was updated successfully, but these errors were encountered: