Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-2607

Error Importing CRDs in OCP 4.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 0.12.0
    • Operator
    • None
    • Hide
      • Login into OCP 4.5 (you can use QE instance here)
      • Create a project: oc new-project myproject
      • Import CRDs:

      From the terminal:

      cd kogito-cloud-operator
      source hack/crds-utils.sh
      apply_crds "deploy"
      

      Expected output is no errors.

      Show
      Login into OCP 4.5 (you can use QE instance here ) Create a project: oc new-project myproject Import CRDs: From the terminal: cd kogito-cloud- operator source hack/crds-utils.sh apply_crds "deploy" Expected output is no errors.
    • 2020 Week 25-27 (from Jun 15), 2020 Week 28-30 (from Jul 6)

      There are some CRD that are failing to be imported into OCP 4.5 with:

      The CustomResourceDefinition "XXX" is invalid: spec.validation.openAPIV3Schema.properties[spec].properties[webhooks].items.properties[type].default: Required value: this property is in x-kubernetes-list-map-keys, so it must have a default or be a required property
      

      Concretely, the affected CRD files are:

      • deploy/crds/app.kiegroup.org_kogitoapps_crd.yaml
      • deploy/crds/app.kiegroup.org_kogitobuilds_crd.yaml

      See instructions about how to reproduce above. Note in OCP 4.3 is working fine.

            rhn-support-fspolti Filippe Spolti
            jcarvaja@redhat.com Jose Carvajal Hilario
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: