-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
None
-
None
-
None
-
None
The API for CompatiblityRequirements has a way to exclude fields from the CRD validation.
At the moment, any changes between specs (removal of fields) will result in a validation error and the CRD update will be rejected.
We need to implement the excludedFields functionality to filter the crdify output.
Any crdify error that is pathed to match the excluded fields should be dropped before continuing so that we don't prevent those CRD updates in that case.
We have current tests in the integration suite for field removals not being allowed. We can extend those tests to include a version of the test where we configure the removal as an excluded field.
The base implementation that needs to be extended is currently in https://github.com/openshift/cluster-capi-operator/pull/459