mirror of
https://github.com/rancher/rke.git
synced 2025-09-13 05:34:11 +00:00
Attempt upgrade on NotReady hosts
This commit is contained in:
@@ -185,7 +185,7 @@ func rebuildClusterWithRotatedCertificates(ctx context.Context,
|
||||
}
|
||||
if isLegacyKubeAPI {
|
||||
log.Infof(ctx, "[controlplane] Redeploying controlplane to update kubeapi parameters")
|
||||
if err := kubeCluster.DeployControlPlane(ctx, svcOptionData, true); err != nil {
|
||||
if _, err := kubeCluster.DeployControlPlane(ctx, svcOptionData, true); err != nil {
|
||||
return APIURL, caCrt, clientCert, clientKey, nil, err
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user