You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
operator: implement roundtripping conversion of v1alpha3
This commit adds the initial set of conversion routines to support
roundtripping all valid configurations of the v1alpha3 CR through the v1alpha2
CR.
To aid in the development and testing of the conversion routines, the
`exhaustruct` linter has been enabled on files ending in `_conversion.go`. It
requires all fields to be explicitly declared which will prevent future
additions to either CR from causing regressions.
It should be noted that v1alpha2 can NOT be roundtripped. Therefore the
v1alpha3 CRD can not be _safely_ enabled.
Future work will:
- Improve user facing documentation of all fields
- Support roundtripping v1alpha2 through v1alpha3
- (Potentially) refactor conversion to make use of the conversion-gen tool.
0 commit comments