Skip to content

Commit

Permalink
Fix HA master worker installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ecsy committed Apr 4, 2019
1 parent a11eb04 commit 84b5adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/pke/app/phases/kubeadm/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84b5adb

Please sign in to comment.