diff --git a/pkg/clustermanager/cluster_manager.go b/pkg/clustermanager/cluster_manager.go index 9dec46ae4fdd2..f9f1fe85bf18a 100644 --- a/pkg/clustermanager/cluster_manager.go +++ b/pkg/clustermanager/cluster_manager.go @@ -461,6 +461,9 @@ func (c *ClusterManager) applyProviderManifests( return err } + logger.V(4).Info("Applying capi yaml spec to cluster") + logger.V(6).Info(string(content)) + err = c.clusterClient.ApplyKubeSpecFromBytesWithNamespace(ctx, management, content, constants.EksaSystemNamespace) if err != nil { return fmt.Errorf("applying capi spec: %v", err) diff --git a/pkg/providers/nutanix/provider.go b/pkg/providers/nutanix/provider.go index 9f6b3ff889482..9c8d325fe814d 100644 --- a/pkg/providers/nutanix/provider.go +++ b/pkg/providers/nutanix/provider.go @@ -295,6 +295,7 @@ func (p *Provider) GenerateCAPISpecForCreate(ctx context.Context, cluster *types if err != nil { return nil, nil, err } + return controlPlaneSpec, workersSpec, nil }