Move DRAAdminAccess feature to GA (#137373)

* Move DRAAdminAccess feature to GA

Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>

* address comments

Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>

---------

Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>

Kubernetes-commit: c4f88de33e02882e758da8667cfcaf939ed7bc1a
This commit is contained in:
Rita Zhang
2026-03-05 10:12:21 -08:00
committed by Kubernetes Publisher
parent a72ad3ccbc
commit 06163fb266
4 changed files with 5 additions and 7 deletions

View File

@@ -57,8 +57,7 @@ type DeviceRequestAllocationResultApplyConfiguration struct {
// administrative access. See the corresponding request field
// for a definition of mode.
//
// This is an beta field and requires enabling the DRAAdminAccess
// feature gate. Admin access is disabled if this field is unset or
// Admin access is disabled if this field is unset or
// set to false, otherwise it is enabled.
AdminAccess *bool `json:"adminAccess,omitempty"`
// A copy of all tolerations specified in the request at the time

View File

@@ -72,8 +72,7 @@ type ExactDeviceRequestApplyConfiguration struct {
// all ordinary claims to the device with respect to access modes and
// any resource allocations.
//
// This is an beta field and requires enabling the DRAAdminAccess
// feature gate. Admin access is disabled if this field is unset or
// Admin access is disabled if this field is unset or
// set to false, otherwise it is enabled.
AdminAccess *bool `json:"adminAccess,omitempty"`
// If specified, the request's tolerations.

2
go.mod
View File

@@ -23,7 +23,7 @@ require (
golang.org/x/time v0.14.0
google.golang.org/protobuf v1.36.11
gopkg.in/evanphx/json-patch.v4 v4.13.0
k8s.io/api v0.0.0-20260305042032-d857bb317317
k8s.io/api v0.0.0-20260305181221-2f4ee36bc900
k8s.io/apimachinery v0.0.0-20260305041646-850367df4eef
k8s.io/klog/v2 v2.130.1
k8s.io/kube-openapi v0.0.0-20260304202019-5b3e3fdb0acf

4
go.sum
View File

@@ -123,8 +123,8 @@ gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
k8s.io/api v0.0.0-20260305042032-d857bb317317 h1:e7bS/d4gh71UsfTsGDyl7Ghy7HA9m1Z7mees8+ao34Y=
k8s.io/api v0.0.0-20260305042032-d857bb317317/go.mod h1:RD5MAsgtKyQbBy6KN4bgPGLjWiEVZfvvtwT7iPDWdho=
k8s.io/api v0.0.0-20260305181221-2f4ee36bc900 h1:wwc3tGBq5CjVYX12gMLmagQOY3qB5nCzC+TLuqREDgY=
k8s.io/api v0.0.0-20260305181221-2f4ee36bc900/go.mod h1:RD5MAsgtKyQbBy6KN4bgPGLjWiEVZfvvtwT7iPDWdho=
k8s.io/apimachinery v0.0.0-20260305041646-850367df4eef h1:MSK5Yt3YJ9LwQmgdV6TkcAeo2LQdtBOq3Hb4z0XGIb8=
k8s.io/apimachinery v0.0.0-20260305041646-850367df4eef/go.mod h1:tcTL0AGiWEx3+DqZviSKAisAVaD8FfZTVQwsyMr3+LI=
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=