Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24504

EAP Operator 2.1 no longer pass the CVP tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • OP-2.1.4.GA
    • Operator
    • 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:

      http://external-ci-coldstorage.datahub.redhat.com/cvp/cvp-redhat-operator-bundle-image-validation-test/jboss-eap-7-eap73-operator-bundle-container-2.1-35/0e5b68a9-4df8-4c55-b066-9cce84f8d308/operator-metadata-linting-bundle-image-output.txt

      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.

            Unassigned Unassigned
            jmesnil1@redhat.com Jeff Mesnil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: