diff --git a/cmd/clusterctl/client/cluster/cert_manager.go b/cmd/clusterctl/client/cluster/cert_manager.go index cf69a354007d..1f476aa24559 100644 --- a/cmd/clusterctl/client/cluster/cert_manager.go +++ b/cmd/clusterctl/client/cluster/cert_manager.go @@ -19,6 +19,7 @@ package cluster import ( "context" _ "embed" + "fmt" "time" "github.com/blang/semver" @@ -549,7 +550,7 @@ func (cm *certManagerClient) waitForAPIReady(_ context.Context, retry bool) erro // yet, so we need to keep retrying until it is. if err := cm.pollImmediateWaiter(waitCertManagerInterval, cm.getWaitTimeout(), func() (bool, error) { if err := cm.createObj(o); err != nil { - log.V(5).Error(err, "Creation failed", logf.UnstructuredToValues(o)...) + log.V(5).Info(fmt.Sprintf("Creation failed: %v", err), logf.UnstructuredToValues(o)...) // If retrying is disabled, return the error here. if !retry { return false, err