Skip to content

Commit

Permalink
Updated clone based on reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
vr4manta committed Nov 25, 2024
1 parent 84cddbd commit 0088a75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apis/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ type VirtualMachineCloneSpec struct {
HardwareVersion string `json:"hardwareVersion,omitempty"`
// DataDisks are additional disks to add to the VM that are not part of the VM's OVA template.
// +optional
// +listType=map
// +listMapKey=name
DataDisks []VSphereDisk `json:"dataDisks,omitempty"`
}

Expand All @@ -213,7 +215,6 @@ type VSphereDisk struct {
// Name is used to identify the disk definition. If Name is not specified, the disk will still be created.
// The Name should be unique so that it can be used to clearly identify purpose of the disk, but is not
// required to be unique.
// +optional
Name string `json:"name,omitempty"`
// SizeGiB is the size of the disk in GiB.
// +kubebuilder:validation:Required
Expand Down

0 comments on commit 0088a75

Please sign in to comment.