From c6a32f7cbbf5688583ae4411b227628e7b2e97f9 Mon Sep 17 00:00:00 2001 From: Rahul Ganesh Date: Sat, 4 Jan 2025 00:40:02 +0000 Subject: [PATCH] Fix tinkerbell machine reconciliation bug Signed-off-by: Rahul Ganesh --- controller/machine/scope.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controller/machine/scope.go b/controller/machine/scope.go index fdca0e93..95323f6a 100644 --- a/controller/machine/scope.go +++ b/controller/machine/scope.go @@ -130,6 +130,8 @@ func (scope *machineReconcileScope) reconcile(hw *tinkv1.Hardware) error { if v, found := hw.ObjectMeta.GetAnnotations()[HardwareProvisionedAnnotation]; found && v == "true" { scope.log.Info("Marking TinkerbellMachine as Ready") scope.tinkerbellMachine.Status.Ready = true + + return nil } wf, err := scope.ensureTemplateAndWorkflow(hw)