From 54ce1afd7e310491fb71e7d13033021a82af9831 Mon Sep 17 00:00:00 2001 From: Mitali Paygude Date: Tue, 13 Feb 2024 14:21:10 -0800 Subject: [PATCH] Add localhost --- pkg/awsiamauth/reconciler/reconciler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/awsiamauth/reconciler/reconciler.go b/pkg/awsiamauth/reconciler/reconciler.go index 1f591116da37..d5769af53d88 100644 --- a/pkg/awsiamauth/reconciler/reconciler.go +++ b/pkg/awsiamauth/reconciler/reconciler.go @@ -155,7 +155,7 @@ func (r *Reconciler) applyIAMAuthManifest(ctx context.Context, client client.Cli } func (r *Reconciler) createKubeconfigSecret(ctx context.Context, clusterSpec *anywhereCluster.Spec, cluster *anywherev1.Cluster, clusterID uuid.UUID) error { - endpoint := "127.0.0.1" + endpoint := "localhost" if cluster.Spec.DatacenterRef.Kind != v1alpha1.DockerDatacenterKind { endpoint = cluster.Spec.ControlPlaneConfiguration.Endpoint.Host }