Skip to content

Commit 1f9dfa7

Browse files
committed
update Reservation CRD
Signed-off-by: Joseph <[email protected]>
1 parent 6daf0da commit 1f9dfa7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

versions/v0.6.0/templates/crd/scheduling.koordinator.sh_reservations.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ spec:
6868
description: Specify the owners who can allocate the reserved resources.
6969
Multiple owner selectors and ORed.
7070
items:
71+
description: ReservationOwner indicates the owner specification
72+
which can allocate reserved resources.
73+
minProperties: 1
7174
properties:
7275
controller:
7376
properties:
@@ -188,6 +191,7 @@ spec:
188191
type: string
189192
type: object
190193
type: object
194+
minItems: 1
191195
type: array
192196
preAllocation:
193197
description: By default, the resources requirements of reservation
@@ -210,6 +214,9 @@ spec:
210214
`ttl` are mutually exclusive. Defaults to 24h. Set 0 to disable
211215
expiration.
212216
type: string
217+
required:
218+
- owners
219+
- template
213220
type: object
214221
status:
215222
properties:

0 commit comments

Comments
 (0)