1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-01 15:06:23 +00:00

honor kubernetes_version setting

This commit is contained in:
Jason Greathouse
2019-01-24 13:20:22 -06:00
committed by Alena Prokharchyk
parent dad34d4da2
commit a64e8f64fb
4 changed files with 78 additions and 7 deletions

View File

@@ -168,7 +168,10 @@ func InitClusterObject(ctx context.Context, rkeConfig *v3.RancherKubernetesEngin
}
// Setting cluster Defaults
c.setClusterDefaults(ctx)
err := c.setClusterDefaults(ctx)
if err != nil {
return nil, err
}
// extract cluster network configuration
c.setNetworkOptions()