mirror of
https://github.com/rancher/rke.git
synced 2025-09-25 06:33:56 +00:00
refactor the build state
remove extra cert generation for etcd in reconcile fix reconcile and etcd add and remove cluster state with rke remove fix add/remove issues Fix the up command Fix default paths for kubeconfig and rkestate
This commit is contained in:
committed by
Alena Prokharchyk
parent
90fd13db65
commit
8b8870311b
@@ -139,7 +139,7 @@ func (c *Cluster) SetUpHosts(ctx context.Context, rotateCerts bool) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := pki.DeployAdminConfig(ctx, c.Certificates[pki.KubeAdminCertName].Config, c.LocalKubeConfigPath); err != nil {
|
||||
if err := rebuildLocalAdminConfig(ctx, c); err != nil {
|
||||
return err
|
||||
}
|
||||
log.Infof(ctx, "[certificates] Successfully deployed kubernetes certificates to Cluster nodes")
|
||||
|
Reference in New Issue
Block a user