File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,8 @@ type VirtualMachineCloneSpec struct {
205205 HardwareVersion string `json:"hardwareVersion,omitempty"`
206206 // DataDisks are additional disks to add to the VM that are not part of the VM's OVA template.
207207 // +optional
208+ // +listType=map
209+ // +listMapKey=name
208210 DataDisks []VSphereDisk `json:"dataDisks,omitempty"`
209211}
210212
@@ -213,7 +215,6 @@ type VSphereDisk struct {
213215 // Name is used to identify the disk definition. If Name is not specified, the disk will still be created.
214216 // The Name should be unique so that it can be used to clearly identify purpose of the disk, but is not
215217 // required to be unique.
216- // +optional
217218 Name string `json:"name,omitempty"`
218219 // SizeGiB is the size of the disk in GiB.
219220 // +kubebuilder:validation:Required
You can’t perform that action at this time.
0 commit comments