mirror of
https://github.com/rancher/rke.git
synced 2025-09-16 15:10:12 +00:00
Revert "Merge pull request #3531 from jiaqiluo/fix-kube-apiserver"
This reverts commit5e050c58a9
, reversing changes made to1951add95d
.
This commit is contained in:
@@ -200,6 +200,10 @@ func ClusterUp(ctx context.Context, dialersOptions hosts.DialersOptions, flags c
|
||||
return APIURL, caCrt, clientCert, clientKey, nil, err
|
||||
}
|
||||
|
||||
if err := cluster.RestartKubeAPIServerWhenConfigChanges(ctx, kubeCluster, currentCluster); err != nil {
|
||||
return APIURL, caCrt, clientCert, clientKey, nil, err
|
||||
}
|
||||
|
||||
if err := kubeCluster.PrePullK8sImages(ctx); err != nil {
|
||||
return APIURL, caCrt, clientCert, clientKey, nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user