mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Add Support for supplemental groups
This commit is contained in:
@@ -497,6 +497,14 @@ func deepCopy_v1_PersistentVolumeClaimVolumeSource(in v1.PersistentVolumeClaimVo
|
||||
}
|
||||
|
||||
func deepCopy_v1_PodSecurityContext(in v1.PodSecurityContext, out *v1.PodSecurityContext, c *conversion.Cloner) error {
|
||||
if in.SupplementalGroups != nil {
|
||||
out.SupplementalGroups = make([]int64, len(in.SupplementalGroups))
|
||||
for i := range in.SupplementalGroups {
|
||||
out.SupplementalGroups[i] = in.SupplementalGroups[i]
|
||||
}
|
||||
} else {
|
||||
out.SupplementalGroups = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user