kubernetes/pkg/api
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
..
endpoints/testing Move endpoints test-helper funcs to a package 2021-07-01 18:26:45 -07:00
job drop deprecated pointer package 2024-01-24 19:44:07 +08:00
legacyscheme hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
node use generic Set in api 2023-09-25 19:04:08 +08:00
persistentvolume Cleanup defer from SetFeatureGateDuringTest function call 2024-04-24 20:25:29 +02:00
persistentvolumeclaim Cleanup defer from SetFeatureGateDuringTest function call 2024-04-24 20:25:29 +02:00
pod KEP-3619: Fine-grained SupplementalGroups control (#117842) 2024-05-29 15:40:29 -07:00
service Improve service unit test failure report 2023-09-01 23:18:45 +08:00
storage use generic Set in api 2023-09-25 19:04:08 +08:00
testing Promote ValidatingAdmissionPolicy to GA. 2024-03-05 16:00:21 -08:00
v1 Merge pull request #120866 from bzsuni/cleanup/sets/api 2024-01-22 18:20:48 +01:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00