kubernetes/pkg/generated/openapi
Shingo Omura 552fd7e850
KEP-3619: Fine-grained SupplementalGroups control (#117842)
* Add `Linux{Sandbox,Container}SecurityContext.SupplementalGroupsPolicy` and `ContainerStatus.user` in cri-api

* Add `PodSecurityContext.SupplementalGroupsPolicy`, `ContainerStatus.User` and its featuregate

* Implement DropDisabledPodFields for PodSecurityContext.SupplementalGroupsPolicy and ContainerStatus.User fields

* Implement kubelet so to wire between SecurityContext.SupplementalGroupsPolicy/ContainerStatus.User and cri-api in kubelet

* Clarify `SupplementalGroupsPolicy` is an OS depdendent field.

* Make `ContainerStatus.User` is initially attached user identity to the first process in the ContainerStatus

It is because, the process identity can be dynamic if the initially attached identity
has enough privilege calling setuid/setgid/setgroups syscalls in Linux.

* Rewording suggestion applied

* Add TODO comment for updating SupplementalGroupsPolicy default value in v1.34

* Added validations for SupplementalGroupsPolicy and ContainerUser

* No need featuregate check in validation when adding new field with no default value

* fix typo: identitiy -> identity
2024-05-29 15:40:29 -07:00
..
cmd/models-schema Remove defunct references to "vendor" 2024-02-29 22:06:52 -08:00
doc.go Move openapi output to a flag rather than tag 2016-09-27 17:52:22 -07:00
openapi_test.go Replace uses of ObjectReflectDiff with cmp.Diff 2023-04-12 08:48:03 -07:00
OWNERS allow api-approvers to approve directories touched by generation 2023-07-13 15:27:53 -04:00
zz_generated.openapi.go KEP-3619: Fine-grained SupplementalGroups control (#117842) 2024-05-29 15:40:29 -07:00