Skip to content

✨ Multiple FailoverIPs #128

@Mattes83

Description

@Mattes83

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

No one assigned

    Labels

    enhancementNew feature or requestkind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions