Skip to content

Set Metal3Machines automatedCleaningMode to disabled

Francois Eleouet requested to merge fe/disable-automated-cleaning-job into main

What does this MR do and why?

Set Metal3Machines automatedCleaningMode to disabled

In sylva 1.1.0, metal3MachineTemplates produced by sylva-capi-cluster v0.2.14 had automatedCleaningMode set to metadata, which breaks rolling upgrades with longhorn storage as it prevents the reuse of existing replicas.

Add a job that patches existing machine before the cluster upgrade.

This unit will be enabled only if longhorn is enabled and some metal3MachineTemplates are configured with automatedCleaningMode=metadata

Related reference(s)

Relates to: #1193

Merge request reports