k3s-io / cluster-api-k3s

Cluster API k3s
Apache License 2.0
149 stars 41 forks source link

Remediation is failing when machine bootstrap failed #108

Closed nasusoba closed 6 months ago

nasusoba commented 6 months ago

After #103 , the machine remediation process is failing if machine bootstrap failed and node did not join the cluster successfully. The reason is that we have not handled the case when machine.Status.NodeRef = nil when handling PreTerminateDeleteHook. Working on the fix....