From 559338a3e83bec372cc33d82e24d354153ef2ab4 Mon Sep 17 00:00:00 2001 From: Chris Gunn Date: Thu, 13 May 2021 15:39:39 -0700 Subject: [PATCH] Remove load balancer workaround for bare metal. --- cloud/scope/cluster.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cloud/scope/cluster.go b/cloud/scope/cluster.go index 2ae9f9e2..adcc235d 100644 --- a/cloud/scope/cluster.go +++ b/cloud/scope/cluster.go @@ -192,9 +192,7 @@ func (s *ClusterScope) APIServerPort() int32 { } func (s *ClusterScope) AzureStackHCILoadBalancer() *infrav1.AzureStackHCILoadBalancerSpec { - // Disable the load balancer for baremetal machine scenarios - // return s.AzureStackHCICluster.Spec.AzureStackHCILoadBalancer - return nil + return s.AzureStackHCICluster.Spec.AzureStackHCILoadBalancer } // GetNamespaceOrDefault returns the default namespace if given empty