mirror of
https://github.com/rancher/rke.git
synced 2025-08-31 14:36:32 +00:00
Handle missing request header ca in rotate certificate
This commit is contained in:
committed by
Alena Prokharchyk
parent
a569f2e81c
commit
798632b3a4
@@ -201,7 +201,7 @@ func fetchAndUpdateStateFromLegacyCluster(ctx context.Context, kubeCluster *clus
|
||||
// try to fetch certs from nodes
|
||||
recoveredCerts, err = cluster.GetClusterCertsFromNodes(ctx, kubeCluster)
|
||||
if err != nil {
|
||||
return err
|
||||
return fmt.Errorf("Failed to fetch cluster certs from nodes, aborting upgrade: %v", err)
|
||||
}
|
||||
}
|
||||
fullState.CurrentState.RancherKubernetesEngineConfig = kubeCluster.RancherKubernetesEngineConfig.DeepCopy()
|
||||
|
Reference in New Issue
Block a user