Enable SylvaUnitsReleaseTemplate CRD fields to be optional
What it does
Enable SylvaUnitsReleaseTemplate CRD fields to be optional.
Duplication of the SylvaUnitsReleaseSpec
Since SylvaUnitsReleaseSpec was used both in the SylvaUnitsRelease and in the SylvaUnitsReleaseTemplate, no elegant method to have different kubeuilder validation rules was found. Therefore, the struct has been duplicated into a SylvaUnitsReleaseTemplateSpec
Deletion of Suspend field
There is no meaning of a SylvaUnitsReleaseTemplate being suspended (countrary to a given SylvaUnitsRelease). Therefore this field has been removed in SylvaUnitsReleaseTemplateSpec
Tests
- Operator tests:
✅ - E2E Tests:
✅
References
Requires !433 (merged) since we rely on default values Closes #69 (closed)
Edited by vladimir braquet