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

Force deploy certificates if kubeapi cert got changed

This commit is contained in:
galal-hussein
2019-04-23 23:42:10 +02:00
committed by Alena Prokharchyk
parent 765746fc77
commit 7744f18d6e
5 changed files with 27 additions and 11 deletions

View File

@@ -42,6 +42,7 @@ type Cluster struct {
DockerDialerFactory hosts.DialerFactory
EtcdHosts []*hosts.Host
EtcdReadyHosts []*hosts.Host
ForceDeployCerts bool
InactiveHosts []*hosts.Host
K8sWrapTransport k8s.WrapTransport
KubeClient *kubernetes.Clientset
@@ -170,7 +171,7 @@ func InitClusterObject(ctx context.Context, rkeConfig *v3.RancherKubernetesEngin
}
// Setting cluster Defaults
err := c.setClusterDefaults(ctx)
err := c.setClusterDefaults(ctx, flags)
if err != nil {
return nil, err
}