Skip to content

Commit

Permalink
add log printing capi spec
Browse files Browse the repository at this point in the history
  • Loading branch information
cxbrowne1207 committed Feb 11, 2024
1 parent dacad16 commit 958915a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/clustermanager/cluster_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions pkg/providers/nutanix/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ func (p *Provider) GenerateCAPISpecForCreate(ctx context.Context, cluster *types
if err != nil {
return nil, nil, err
}

return controlPlaneSpec, workersSpec, nil
}

Expand Down

0 comments on commit 958915a

Please sign in to comment.