-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
OP-2.1.4.GA
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
Message sent by the CVP team:
As part of qualifying the operator-sdk upgrade to v1.26.0 we re-test released bundles that have previously passed all CVP pipelines.
However, in re-testing jboss-eap-7-eap73-operator-bundle-container-2.1-35 we found a new failure with the upgraded operator-sdk:
The error message is
time="2023-01-24T17:38:18Z" level=error msg="Error: Field spec.preserveUnknownFields, Value 0xc0008b71f9: spec.preserveUnknownFields: Invalid value: true: cannot set to true, set x-kubernetes-preserve-unknown-fields to true in spec.versions[*].schema instead"
The issue is caused by the WildFlyServer CRD that does not explicitly specify a spec.preserveUnknownFields field and use a default value of true.
This will require a change in the CRD as described in https://kubernetes.io/docs/reference/using-api/deprecation-guide/#customresourcedefinition-v122 and a new release of the EAP Operator.