MachineSet should reset MachineReady conditions when scaled down to zero replicas #5453
Open
Description
What steps did you take and what happened:
While testing CAPI I noticed that after a MachineSet is scaled down to zero replicas, eg. after a rollouts, the MachineReady remains stuck to false reporting the last machine still deleting.
What did you expect to happen:
MachineReady condition to go back to true (or eventually be removed) given that there are zero machines
Environment:
- Cluster-api version: v1beta1
/kind bug
/area health
/area machine
Metadata
Assignees
Labels
Issues or PRs related to machine lifecycle managementIssues or PRs related to machinesetsDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Categorizes issue or PR as related to a bug.Important over the long term, but may not be staffed and/or may need multiple releases to complete.Indicates an issue or PR is ready to be actively worked on.