-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or requestkind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Describe the solution you'd like:
We are using Metallb (https://metallb.universe.tf/) to announce public IPv4 addresses for our services of type LoadBalancer. Therefore we need the possibility to assign multiple FailoverIPs to an IonosCloudMachine.
As there is already the possibility to assign a single FailoverIP on an IonosCloudMachine I'd propose to make the field a list as
// If the machine is a control plane machine, this field will not be taken into account.
//+kubebuilder:validation:XValidation:rule="self == oldSelf",message="failoverIPs is immutable"
//+kubebuilder:validation:XValidation:rule=`self.all(ip, ip == "AUTO" || ip.matches("((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"))`,message="failoverIPs entries must be either 'AUTO' or a valid IPv4 address"
//+optional
FailoverIPs []string `json:"failoverIPs,omitempty"Please let me know if you are okay with this api change. I'd then start working on this.
Anything else you would like to add:
Will we need a new apiversion for this change?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestkind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.