Skip to content

Commit 3825d6c

Browse files
authored
remove unneeded code (flag is provided by kotsadm as part of the join command) (#416)
* undo change to add '--no-taints' to controller joins * Update Makefile versions * remove duplicate code --------- Co-authored-by: laverya <[email protected]>
1 parent dfd10f2 commit 3825d6c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/embedded-cluster/join.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,6 @@ func runK0sInstallCommand(fullcmd string) error {
325325
args = append(args, "--token-file", "/etc/k0s/join-token")
326326
if strings.Contains(fullcmd, "controller") {
327327
args = append(args, "--disable-components", "konnectivity-server", "--enable-dynamic-config")
328-
329-
if !strings.Contains(fullcmd, "--no-taints") {
330-
args = append(args, "--no-taints")
331-
}
332328
}
333329
if _, err := runCommand(args[0], args[1:]...); err != nil {
334330
return err

0 commit comments

Comments
 (0)