pkg/operator: roll out the MCDs first
We can still be running the old MCDs on nodes once the new MCC creates the new rendered
so fix that by rolling out the MCDs first and then the new MCC.
@@ -410,9 +410,9 @@ func (optr *Operator) sync(key string) error {
// any error marks sync as failure but continues to next syncFunc
var syncFuncs = []syncFunc{
{"pools", optr.syncMachineConfigPools},
+ {"mcd", optr.syncMachineConfigDaemon},
{"mcc", optr.syncMachineConfigController},
{"mcs", optr.syncMachineConfigServer},
- {"mcd", optr.syncMachineConfigDaemon},
{"required-pools", optr.syncRequiredMachineConfigPools},
}
return optr.syncAll(rc, syncFuncs)
