Add Support for supplemental groups

This commit is contained in:
Sami Wagiaalla
2015-10-15 13:45:16 -04:00
parent a123b15fd1
commit 030f882f06
18 changed files with 20896 additions and 20526 deletions

View File

@@ -1008,6 +1008,12 @@ type PodSecurityContext struct {
// Use the host's ipc namespace.
// Optional: Default to false.
HostIPC bool `json:"hostIPC,omitempty"`
// SupplementalGroups can be used to specify a list of
// additional groups which the main container process will run
// as. This will be applied to all containers in the pod in
// addition to the primary group of the container.
SupplementalGroups []int64 `json:"supplementalGroups,omitempty"`
}
// PodStatus represents information about the status of a pod. Status may trail the actual