Skip to content

Commit

Permalink
remove the --force flag
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Oct 20, 2023
1 parent a8d9b84 commit 115f090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/helmvm/node_join.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func GenerateK0sJoinCommand(ctx context.Context, client kubernetes.Interface, ro
}
}

cmd := []string{"/usr/local/bin/k0s", "install", k0sRole, "--force"}
cmd := []string{"/usr/local/bin/k0s", "install", k0sRole}
if k0sRole == "controller" {
cmd = append(cmd, "--enable-worker")
}
Expand Down

0 comments on commit 115f090

Please sign in to comment.