upgrading from 1.4 to main requires a recent SylvaUnitsRelease CRD in 1.4
In the code we have today in main, we needs the SylvaUnitsRelease CRD to have specific status.conditions that were added in recent versions of https://gitlab.com/sylva-projects/sylva-elements/sylva-units-operator
When upgrading from sylva-1.4 to main, on the first apply.sh on main, the sylva-units-operator CRD is still in the version we have in Sylva 1.4. Today that version does not have the recent changes introducing the needed status.conditions in the CRD.
There are two possible ways:
- backport the change introducing the new status.conditions in the release-0.2 branch of sylva-units-operator (this is tracked in sylva-projects/sylva-elements/sylva-units-operator#67 (closed)), and then use an upgraded 0.2.x version in release-1.4
- this approach has the drawback that the backport requires significant work because the operator code evolved a lot
- OR, considering that this operator/CRD being an experimental component in Sylva 1.4, say that we can do a higher version bump and use in release-1.4 the version of the operator that we have in sylva 1.5
- MR !5987 (merged) is doing this