Open mvladev opened 4 years ago
I remember you had opened this PR - https://github.com/gardener/machine-controller-manager/pull/285 long back and it still exists today. And i also remember vaguely having a discussion around this PR. However, i am unable to remember why we didn't discuss on the PR. Let's relook at this.
We don't know what discussion happened in past , but we think finalizer can be removed because of proper owner references which are already set on the machine
and machineSet
resources. But it needs more testing to confirm.
What happened:
Don't set
finalizers
onMachineSets
andMachineDeployments
What you expected to happen:
Those resources managed by MCM have
machine.sapcloud.io/machine-controller-manager
finalizer. Such higher level resources should not have that finalizer. OnlyMachine
should have it.How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
Environment: