ionos-cloud/cluster-api-provider-ionoscloud

:sparkles: Ability to use vcpus

Closed this issue · 1 comments

Describe the solution you'd like:
I would like to be able to use vcpus, so I'd propose to make the ServerType configurable as drafted below.

type IonosCloudMachineSpec struct {
	// Type is the server type of the VM. Can be either ENTERPRISE or VCPU.
	//+kubebuilder:validation:XValidation:rule="self == oldSelf",message="type is immutable"
	//+kubebuilder:validation:Enum=ENTERPRISE;VCPU
	//+kubebuilder:default=ENTERPRISE
	//+optional
	Type ServerType `json:"type"`
}

If you are okay with this change I'd like implement this.

This is a good feature. We would love to have this 👍