1
0
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 commit 5e050c58a9, reversing
changes made to 1951add95d.
This commit is contained in:
Jiaqi Luo
2024-03-21 20:11:03 -07:00
parent 5e050c58a9
commit 312f5ee285
3 changed files with 32 additions and 22 deletions

View File

@@ -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
}