From 25f5f295ef865f50d1bc592fe9315bc856bff20e Mon Sep 17 00:00:00 2001 From: Pavel Tishkov Date: Mon, 17 Jun 2024 13:58:04 +0300 Subject: [PATCH] fix(vm): set min max for blockdevicerefs list (#134) Signed-off-by: Pavel Tishkov --- crds/virtualmachine.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crds/virtualmachine.yaml b/crds/virtualmachine.yaml index 87fbec200..39f8c21fa 100644 --- a/crds/virtualmachine.yaml +++ b/crds/virtualmachine.yaml @@ -895,6 +895,8 @@ spec: blockDeviceRefs: type: array + minItems: 1 + maxItems: 16 description: | List of block devices that can be mounted by disks belonging to the virtual machine. The order of booting is determined by the order in the list.