1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-16 15:10:12 +00:00

rke refactoring - configure cluster method

This commit is contained in:
galal-hussein
2018-02-08 05:13:06 +02:00
parent 9a234ccb4e
commit d99efdc60f
4 changed files with 22 additions and 12 deletions

View File

@@ -97,17 +97,12 @@ func ClusterUp(
return APIURL, caCrt, clientCert, clientKey, err
}
err = kubeCluster.DeployNetworkPlugin(ctx)
if err != nil {
return APIURL, caCrt, clientCert, clientKey, err
}
err = kubeCluster.SyncLabelsAndTaints(ctx)
if err != nil {
return APIURL, caCrt, clientCert, clientKey, err
}
err = kubeCluster.DeployAddons(ctx)
err = cluster.ConfigureCluster(ctx, kubeCluster.RancherKubernetesEngineConfig, kubeCluster.Certificates, clusterFilePath, configDir)
if err != nil {
return APIURL, caCrt, clientCert, clientKey, err
}