Skip to content

Commit

Permalink
Remove init node label
Browse files Browse the repository at this point in the history
Signed-off-by: Kiefer Chang <[email protected]>
  • Loading branch information
bk201 committed Sep 22, 2022
1 parent cbe1269 commit 0c26bb3
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 0c26bb3

Please sign in to comment.