Add updated cluster config to the k8s state
@@ -108,7 +108,7 @@ func ClusterUp(
return APIURL, caCrt, clientCert, clientKey, nil, err
}
- err = kubeCluster.SaveClusterState(ctx, rkeConfig)
+ err = kubeCluster.SaveClusterState(ctx, &kubeCluster.RancherKubernetesEngineConfig)
if err != nil {
return APIURL, caCrt, clientCert, clientKey, nil, err
}
