Skip to content

Commit

Permalink
dra kubelet: bump gRPC API to v1alpha4
Browse files Browse the repository at this point in the history
The previous changes are an API break, therefore we need a new version.

Kubernetes-commit: 7701a48bd6a4191745165e1b0f51b8e2518e51d6
  • Loading branch information
pohly authored and k8s-publishing-bot committed Jun 6, 2024
1 parent 45d6a8c commit 78e0369
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 35 deletions.
61 changes: 31 additions & 30 deletions pkg/apis/dra/v1alpha3/api.pb.go → pkg/apis/dra/v1alpha4/api.pb.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.
syntax = "proto3";

package v1alpha3;
option go_package = "k8s.io/kubelet/pkg/apis/dra/v1alpha3";
option go_package = "k8s.io/kubelet/pkg/apis/dra/v1alpha4";

import "github.com/gogo/protobuf/gogoproto/gogo.proto";

Expand All @@ -43,10 +43,6 @@ service Node {
// The same error handling rules apply,
rpc NodeUnprepareResources (NodeUnprepareResourcesRequest)
returns (NodeUnprepareResourcesResponse) {}

// TODO: removing NodeListAndWatchResources and the code for
// publishing ResourceSlice objects by kubelet is an API break.
// If we do this, then v1alpha3 must be renamed to v1alpha4.
}

message NodePrepareResourcesRequest {
Expand Down

0 comments on commit 78e0369

Please sign in to comment.