From 2252dc91a7e59dcc5d23bd38fdcecb66d0b2ba69 Mon Sep 17 00:00:00 2001 From: Chris Spiller Date: Thu, 31 Oct 2024 12:31:24 +0000 Subject: [PATCH] MTL-2484 - Remove kube-api from all but NMN --- pkg/cli/config/initialize/sls/networkBuilder.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/cli/config/initialize/sls/networkBuilder.go b/pkg/cli/config/initialize/sls/networkBuilder.go index 734f5e897..654f94321 100644 --- a/pkg/cli/config/initialize/sls/networkBuilder.go +++ b/pkg/cli/config/initialize/sls/networkBuilder.go @@ -628,15 +628,15 @@ func createNetFromLayoutConfig(conf NetworkLayoutConfiguration) (*networking.IPV []string{}, ) } - subnet.AddReservation( - "kubeapi-vip", - "k8s-virtual-ip", - ) if tempNet.Name == "NMN" { subnet.AddReservation( "rgw-vip", "rgw-virtual-ip", ) + subnet.AddReservation( + "kubeapi-vip", + "k8s-virtual-ip", + ) } } }