Commit d869fcb
committed
Remove code causing node roles to be deleted
At one point we renamed the instance from lima-rancher-desktop to
lima-0. The rancher-desktop and 0 are names passed to lima. The
full name shows up in the socket path which has a limited number
of characters. The shorter the name the better.
Recently, we set the host name back to rancher-desktop. This is
internal to the OS running on the node and not lima. This caused
the node name to again be lima-rancher-desktop.
The code deleted in this change removes the cleanup. The cleanup
was deleting the node. It was then being added back by k3s without
any roles on it.
Closes #667
Signed-off-by: Matt Farina <matt.farina@suse.com>1 parent 07036d8 commit d869fcb
2 files changed
Lines changed: 0 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | 536 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | 676 | | |
681 | 677 | | |
682 | 678 | | |
| |||
0 commit comments