Skip to content

Commit

Permalink
fix external machine labels (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
neoaggelos authored Sep 12, 2023
1 parent 44b88da commit f9d3db2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions controllers/reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ func (r *MicroK8sControlPlaneReconciler) bootControlPlane(ctx context.Context, c
Namespace: mcp.Namespace,
OwnerRef: infraCloneOwner,
ClusterName: cluster.Name,
Labels: map[string]string{
clusterv1.ClusterLabelName: cluster.Name,
clusterv1.MachineControlPlaneLabelName: "",
},
})
if err != nil {
conditions.MarkFalse(mcp, clusterv1beta1.MachinesCreatedCondition,
Expand Down

0 comments on commit f9d3db2

Please sign in to comment.