diff --git a/go.mod b/go.mod index 77876d1d1..dc5422a16 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ godebug default=go1.25 require ( github.com/gogo/protobuf v1.3.2 - k8s.io/apimachinery v0.0.0-20251002032028-268a6d0fb19c + k8s.io/apimachinery v0.0.0-20251003013056-d59a6d67daf4 ) require ( diff --git a/go.sum b/go.sum index 9fcedca49..5fc40591b 100644 --- a/go.sum +++ b/go.sum @@ -84,8 +84,8 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= 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/apimachinery v0.0.0-20251002032028-268a6d0fb19c h1:iEKnRqzKBawXcbY8X10RxocTyM2FXWOOPIqj5cDTjz0= -k8s.io/apimachinery v0.0.0-20251002032028-268a6d0fb19c/go.mod h1:1YSL0XujdSTcnuHOR73D16EdW+d49JOdd8TXjCo6Dhc= +k8s.io/apimachinery v0.0.0-20251003013056-d59a6d67daf4 h1:XsrIaGZfSnECkeTndDYi1BCo9ef4hKmdxaWg/3qcCBk= +k8s.io/apimachinery v0.0.0-20251003013056-d59a6d67daf4/go.mod h1:1YSL0XujdSTcnuHOR73D16EdW+d49JOdd8TXjCo6Dhc= k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 h1:Y3gxNAuB0OBLImH611+UDZcmKS3g6CthxToOb37KgwE= diff --git a/resource/v1/generated.proto b/resource/v1/generated.proto index 7c3998d89..642bbfc2d 100644 --- a/resource/v1/generated.proto +++ b/resource/v1/generated.proto @@ -642,6 +642,8 @@ message DeviceClassSpec { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 repeated DeviceSelector selectors = 1; // Config defines configuration parameters that apply to each device that is claimed via this class. @@ -652,6 +654,8 @@ message DeviceClassSpec { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 repeated DeviceClassConfiguration config = 2; // ExtendedResourceName is the extended resource name for the devices of this class. diff --git a/resource/v1/types.go b/resource/v1/types.go index 5b47a7ffa..d39a9e0a0 100644 --- a/resource/v1/types.go +++ b/resource/v1/types.go @@ -1672,6 +1672,8 @@ type DeviceClassSpec struct { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 Selectors []DeviceSelector `json:"selectors,omitempty" protobuf:"bytes,1,opt,name=selectors"` // Config defines configuration parameters that apply to each device that is claimed via this class. @@ -1682,6 +1684,8 @@ type DeviceClassSpec struct { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 Config []DeviceClassConfiguration `json:"config,omitempty" protobuf:"bytes,2,opt,name=config"` // SuitableNodes is tombstoned since Kubernetes 1.32 where diff --git a/resource/v1beta1/generated.proto b/resource/v1beta1/generated.proto index cc9469bb6..367ea268b 100644 --- a/resource/v1beta1/generated.proto +++ b/resource/v1beta1/generated.proto @@ -650,6 +650,8 @@ message DeviceClassSpec { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 repeated DeviceSelector selectors = 1; // Config defines configuration parameters that apply to each device that is claimed via this class. @@ -660,6 +662,8 @@ message DeviceClassSpec { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 repeated DeviceClassConfiguration config = 2; // ExtendedResourceName is the extended resource name for the devices of this class. diff --git a/resource/v1beta1/types.go b/resource/v1beta1/types.go index ee8e1d99b..f0a4767ad 100644 --- a/resource/v1beta1/types.go +++ b/resource/v1beta1/types.go @@ -1680,6 +1680,8 @@ type DeviceClassSpec struct { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 Selectors []DeviceSelector `json:"selectors,omitempty" protobuf:"bytes,1,opt,name=selectors"` // Config defines configuration parameters that apply to each device that is claimed via this class. @@ -1690,6 +1692,8 @@ type DeviceClassSpec struct { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 Config []DeviceClassConfiguration `json:"config,omitempty" protobuf:"bytes,2,opt,name=config"` // SuitableNodes is tombstoned since Kubernetes 1.32 where diff --git a/resource/v1beta2/generated.proto b/resource/v1beta2/generated.proto index 076a43c93..d386bca18 100644 --- a/resource/v1beta2/generated.proto +++ b/resource/v1beta2/generated.proto @@ -642,6 +642,8 @@ message DeviceClassSpec { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 repeated DeviceSelector selectors = 1; // Config defines configuration parameters that apply to each device that is claimed via this class. @@ -652,6 +654,8 @@ message DeviceClassSpec { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 repeated DeviceClassConfiguration config = 2; // ExtendedResourceName is the extended resource name for the devices of this class. diff --git a/resource/v1beta2/types.go b/resource/v1beta2/types.go index 1ade5acf1..d511bbe9e 100644 --- a/resource/v1beta2/types.go +++ b/resource/v1beta2/types.go @@ -1672,6 +1672,8 @@ type DeviceClassSpec struct { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 Selectors []DeviceSelector `json:"selectors,omitempty" protobuf:"bytes,1,opt,name=selectors"` // Config defines configuration parameters that apply to each device that is claimed via this class. @@ -1682,6 +1684,8 @@ type DeviceClassSpec struct { // // +optional // +listType=atomic + // +k8s:optional + // +k8s:maxItems=32 Config []DeviceClassConfiguration `json:"config,omitempty" protobuf:"bytes,2,opt,name=config"` // SuitableNodes is tombstoned since Kubernetes 1.32 where