-
Epic
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
Add static CRD schema check in CI to catch common CRD update issues
-
False
-
-
False
-
Not Selected
-
Proposed
-
Proposed
-
To Do
-
Proposed
-
Proposed
-
-
During 18.0-fr1 update testing we discovered a list of backward incompatible CRD schema changes[1]. Mostly new required fields. This breaks the update process.
To prevent these changes in the future we should run https://github.com/openshift/crd-schema-checker tool as a make target from pre-commit (both locally and in the pre-commit CI job). This tool can detect some of the backward incompatible change before we merge them. However this cannot prevent all issues. So we still need some kind of pre-merge update job upstream, but that is a different Jira ticket.
[1]https://issues.redhat.com/browse/OSPRH-11679
- links to
(14 links to)