Skip to content

Commit

Permalink
Add localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
mitalipaygude committed Feb 13, 2024
1 parent a6c6c7b commit 54ce1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/awsiamauth/reconciler/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 54ce1af

Please sign in to comment.