From 84b5adb652a87eaa969608d8f3ec24a8f556f59f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Ecs=C3=A9di?= Date: Thu, 4 Apr 2019 10:58:04 +0200 Subject: [PATCH] Fix HA master worker installation --- cmd/pke/app/phases/kubeadm/node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/pke/app/phases/kubeadm/node/node.go b/cmd/pke/app/phases/kubeadm/node/node.go index 06ea8452..16167634 100644 --- a/cmd/pke/app/phases/kubeadm/node/node.go +++ b/cmd/pke/app/phases/kubeadm/node/node.go @@ -138,7 +138,7 @@ func (n *Node) workerBootstrapParameters(cmd *cobra.Command) (err error) { return } - if n.apiServerHostPort == "" && n.kubeadmToken == "" && n.caCertHash == "" { + if n.kubeadmToken == "" && n.caCertHash == "" { n.apiServerHostPort, n.kubeadmToken, n.caCertHash, err = pipeline.NodeJoinArgs(os.Stdout, cmd) if err != nil { return