mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-23 18:35:51 -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). |
||
|---|---|---|
| .. | ||
| testdata | ||
| accessreview_test.go | ||
| auth_test.go | ||
| authz_config_test.go | ||
| bootstraptoken_test.go | ||
| dynamic_client_test.go | ||
| main_test.go | ||
| node_test.go | ||
| podsecurity_test.go | ||
| rbac_test.go | ||
| requestheader_test.go | ||
| resourceclaim_test.go | ||
| selfsubjectreview_test.go | ||
| svcaccttoken_test.go | ||