-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #421 from hpidcock/rootless
#421 Adds new metadata fields required to enable rootless charms on Kubernetes. - add the `uid` and `gid` fields to each container in the `containers` section which can be omitted. - limit the uid and gid values to less than 1000 and greater than 9999 as per the spec. - add the `charm-user` field which can be omitted, with values of `root`, `sudoer` and `non-root`. ### QA Run unit tests. ### Links Specs: [JU074](https://docs.google.com/document/d/1Y6OhDVWDadPYSlZVnPpH_upA_RNNRbM0luYLJJRrbUw/edit) [JU075](https://docs.google.com/document/d/1wSTB6R96B031j91ygK0hlfWdwaRPWCZ0ENQnjSDlEH4/edit) Jira: JUJU-5123 JUJU-5127
- Loading branch information
Showing
2 changed files
with
149 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters