Skip to content

Commit 52655b9

Browse files
JoelSpeedk8s-publishing-bot
authored andcommitted
Resource claims should be a map type
Kubernetes-commit: 5e22175b1d9b623c3db4d7f61ab881bb17b2795c
1 parent 07ac8fe commit 52655b9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: core/v1/generated.proto

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: core/v1/types.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -2322,7 +2322,8 @@ type ResourceRequirements struct {
23222322
//
23232323
// This field is immutable.
23242324
//
2325-
// +listType=set
2325+
// +listType=map
2326+
// +listMapKey=name
23262327
// +featureGate=DynamicResourceAllocation
23272328
// +optional
23282329
Claims []ResourceClaim `json:"claims,omitempty" protobuf:"bytes,3,opt,name=claims"`

0 commit comments

Comments
 (0)