Skip to content

Commit

Permalink
Added name field to VSphereDisk
Browse files Browse the repository at this point in the history
  • Loading branch information
vr4manta committed Nov 5, 2024
1 parent acc042b commit d552e8b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion machine/v1beta1/types_vsphereprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,14 @@ type NetworkDeviceSpec struct {

// VSphereDisk describes additional disks for vSphere.
type VSphereDisk struct {
// name is a name to be used to identify the disk definition. If deviceName is not specified,
// the disk will still be created. The deviceName 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
SizeGiB int64 `json:"sizeGiB"`
SizeGiB int32 `json:"sizeGiB"`
}

// WorkspaceConfig defines a workspace configuration for the vSphere cloud
Expand Down

0 comments on commit d552e8b

Please sign in to comment.