Skip to content

Commit

Permalink
Merge pull request #25 from bk201/remove-init-node
Browse files Browse the repository at this point in the history
Remove init node label
  • Loading branch information
bk201 authored Sep 30, 2022
2 parents b741600 + 0c26bb3 commit 99bc7c8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/resources/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ func ToBootstrapFile(config *config.Config, path string) (*applyinator.File, err
}
}

id, err := getCattleID()
if err != nil {
return nil, err
}

resources := config.Resources
return ToFile(append(resources, v1.GenericMap{
Data: map[string]interface{}{
Expand Down Expand Up @@ -102,9 +97,6 @@ func ToBootstrapFile(config *config.Config, path string) (*applyinator.File, err
"metadata": map[string]interface{}{
"name": "local",
"namespace": "fleet-local",
"labels": map[string]interface{}{
"rke.cattle.io/init-node-machine-id": id,
},
},
"spec": map[string]interface{}{
"kubernetesVersion": k8sVersion,
Expand Down

0 comments on commit 99bc7c8

Please sign in to comment.