File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -430,6 +430,11 @@ func (s *ManagedControlPlaneScope) ControlPlaneLoadBalancer() *infrav1.AWSLoadBa
430430 return nil
431431}
432432
433+ // ControlPlaneLoadBalancers returns the AWSLoadBalancerSpecs.
434+ func (s * ManagedControlPlaneScope ) ControlPlaneLoadBalancers () []* infrav1.AWSLoadBalancerSpec {
435+ return nil
436+ }
437+
433438// Partition returns the cluster partition.
434439func (s * ManagedControlPlaneScope ) Partition () string {
435440 if s .ControlPlane .Spec .Partition == "" {
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ type SGScope interface {
4444 Bastion () * infrav1.Bastion
4545
4646 // ControlPlaneLoadBalancer returns the load balancer settings that are requested.
47+ // Deprecated: Use ControlPlaneLoadBalancers()
4748 ControlPlaneLoadBalancer () * infrav1.AWSLoadBalancerSpec
4849
4950 // SetNatGatewaysIPs sets the Nat Gateways Public IPs.
@@ -54,4 +55,8 @@ type SGScope interface {
5455
5556 // AdditionalControlPlaneIngressRules returns the additional ingress rules for the control plane security group.
5657 AdditionalControlPlaneIngressRules () []infrav1.IngressRule
58+
59+ // ControlPlaneLoadBalancers returns both the ControlPlaneLoadBalancer and SecondaryControlPlaneLoadBalancer AWSLoadBalancerSpecs.
60+ // The control plane load balancers should always be returned in the above order.
61+ ControlPlaneLoadBalancers () []* infrav1.AWSLoadBalancerSpec
5762}
You can’t perform that action at this time.
0 commit comments