Skip to content

Commit

Permalink
Resource claims should be a map type
Browse files Browse the repository at this point in the history
Kubernetes-commit: 5e22175b1d9b623c3db4d7f61ab881bb17b2795c
  • Loading branch information
JoelSpeed authored and k8s-publishing-bot committed Dec 19, 2022
1 parent 07ac8fe commit 52655b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/v1/generated.proto

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

3 changes: 2 additions & 1 deletion core/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -2322,7 +2322,8 @@ type ResourceRequirements struct {
//
// This field is immutable.
//
// +listType=set
// +listType=map
// +listMapKey=name
// +featureGate=DynamicResourceAllocation
// +optional
Claims []ResourceClaim `json:"claims,omitempty" protobuf:"bytes,3,opt,name=claims"`
Expand Down

0 comments on commit 52655b9

Please sign in to comment.