machine-controller-manager
machine-controller-manager copied to clipboard
Review implementation of `syncMachinesNodeTemplates` function
In syncMachinesNodeTemplates function, the copyMachineSetNodeTemplatesToMachines function updates the machine object directly in the cache (without deepcopy).
Ideally we should be using updateMachineWithRetries function to update the node template into the machine, which is currently a loop.
Also, this, this and this comments are not valid for MCM. These comments seem to be taken directly from replicaset controller