Skip to content

Commit

Permalink
chore: bump DefaultKubeBinaryVersion to 1.32, make 1.32 CEL changes, …
Browse files Browse the repository at this point in the history
…fix int tests to handle 1 version off API deprecation, and fix prerelease-lifecycle-gen for # of APIs

Kubernetes-commit: 701e6c7ab191cb75824378b4a2aceac67be35462
  • Loading branch information
aaron-prindle authored and k8s-publishing-bot committed Sep 5, 2024
1 parent 9dc1a95 commit f57f3ce
Show file tree
Hide file tree
Showing 5 changed files with 305 additions and 8 deletions.
1 change: 1 addition & 0 deletions admissionregistration/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +groupName=admissionregistration.k8s.io

// Package v1alpha1 is the v1alpha1 version of the API.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resource/v1alpha3/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
// +k8s:openapi-gen=true
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package

// +k8s:prerelease-lifecycle-gen=true
// +groupName=resource.k8s.io

// Package v1alpha3 is the v1alpha3 version of the resource API.
Expand Down
14 changes: 7 additions & 7 deletions resource/v1alpha3/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ type ResourceSliceList struct {

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.26
// +k8s:prerelease-lifecycle-gen:introduced=1.31

// ResourceClaim describes a request for access to resources in the cluster,
// for use by workloads. For example, if a workload needs an accelerator device
Expand Down Expand Up @@ -815,7 +815,7 @@ const (
)

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.26
// +k8s:prerelease-lifecycle-gen:introduced=1.31

// ResourceClaimList is a collection of claims.
type ResourceClaimList struct {
Expand All @@ -830,7 +830,7 @@ type ResourceClaimList struct {

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.26
// +k8s:prerelease-lifecycle-gen:introduced=1.31

// PodSchedulingContext objects hold information that is needed to schedule
// a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation
Expand Down Expand Up @@ -916,7 +916,7 @@ type ResourceClaimSchedulingStatus struct {
const PodSchedulingNodeListMaxSize = 128

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.26
// +k8s:prerelease-lifecycle-gen:introduced=1.31

// PodSchedulingContextList is a collection of Pod scheduling objects.
type PodSchedulingContextList struct {
Expand Down Expand Up @@ -1000,7 +1000,7 @@ type DeviceClassConfiguration struct {
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.26
// +k8s:prerelease-lifecycle-gen:introduced=1.31

// DeviceClassList is a collection of classes.
type DeviceClassList struct {
Expand All @@ -1015,7 +1015,7 @@ type DeviceClassList struct {

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.26
// +k8s:prerelease-lifecycle-gen:introduced=1.31

// ResourceClaimTemplate is used to produce ResourceClaim objects.
//
Expand Down Expand Up @@ -1050,7 +1050,7 @@ type ResourceClaimTemplateSpec struct {
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.26
// +k8s:prerelease-lifecycle-gen:introduced=1.31

// ResourceClaimTemplateList is a collection of claim templates.
type ResourceClaimTemplateList struct {
Expand Down
Loading

0 comments on commit f57f3ce

Please sign in to comment.