Default SylvaUnitsRelease Interval is fixed
What it does
Default SylvaUnitsRelease Interval is now fixed. See #70 (closed) for the issue
- Interval is now a pointer to metav1.Duration.
- When the Golang object is instantiated, the default value is nil
- It enables Kubebuilder to set up the correct default value since nothing is set
- Before, the Golang default value was "0s" and kubebuilder was just applying this value (because in this codepath, there is no k8s API server to inject the default value)
- Unexpected nil value is tested. Add related tests
Tests
See CI pipeline
- Operator tests:
✅ - E2E Tests:
✅
References
Closes #70 (closed)
Edited by Thomas Morin