mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-14 18:09:28 -04:00
This commit introduces the DRAResourceClaimGranularStatusAuthorization feature gate (Beta in 1.36) to enforce fine-grained authorization checks on ResourceClaim status updates. Previously, 'update' permission on 'resourceclaims/status' allowed modifying the entire status. To enforce the principle of least privilege for DRA drivers and the scheduler, this change introduces synthetic subresources and verb prefixes: - 'resourceclaims/binding': Required to update 'status.allocation' and 'status.reservedFor'. - 'resourceclaims/driver': Required to update 'status.devices'. Evaluated on a per-driver basis using 'associated-node:<verb>' (for node-local ServiceAccounts) or 'arbitrary-node:<verb>' (for cluster-wide controllers). |
||
|---|---|---|
| .. | ||
| apiserver | ||
| controller | ||
| reconcilers | ||
| doc.go | ||
| import_known_versions.go | ||
| import_known_versions_test.go | ||
| instance.go | ||
| instance_test.go | ||
| OWNERS | ||