Skip to content

Commit

Permalink
drop unused labels on bootstrap
Browse files Browse the repository at this point in the history
we are setting some custom labels on bootstrap but they are not used
anywhere.

Drop them unless we have a need to set some specific labels on node
bootstrap

Signed-off-by: Itxaka <igarcia@suse.com>
  • Loading branch information
Itxaka committed Sep 1, 2022
1 parent 14ddce5 commit 2f9708a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkg/controllers/machineinventoryselector/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,6 @@ func (h *handler) getBootstrapPlan(selector *v1beta1.MachineInventorySelector, i
},
},
},
{
CommonInstruction: applyinator.CommonInstruction{
Command: "bash",
Args: []string{
"-c",
"elemental-register --label \"elemental.cattle.io/ExternalIP=$(hostname -I | awk '{print $1}')\" --label \"elemental.cattle.io/InternalIP=$(hostname -I | awk '{print $2}')\"",
},
},
},
{
CommonInstruction: applyinator.CommonInstruction{
Command: "/var/lib/rancher/bootstrap.sh",
Expand Down

0 comments on commit 2f9708a

Please sign in to comment.