Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-5164

Add support for API version v1beta1 for knativeServing and knativeEventing

XMLWordPrintable

    • None
    • ODC Sprint 229
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the {product-title} used API version `v1alpha1` for Knative serving and Eventing but the flag was not set for API version `v1beta1`. With this fix, the {product-title} supports both the API versions. (link:https://issues.redhat.com/browse/OCPBUGS-5164[*OCPBUGS-5164*])
      Show
      * Previously, the {product-title} used API version `v1alpha1` for Knative serving and Eventing but the flag was not set for API version `v1beta1`. With this fix, the {product-title} supports both the API versions. (link: https://issues.redhat.com/browse/OCPBUGS-5164 [* OCPBUGS-5164 *])
    • Bug Fix
    • Done

      Description of problem:

      It looks like the ODC doesn't register KNATIVE_SERVING and KNATIVE_EVENTING flags. Those are based on KnativeServing and KnativeEventing CRs, but they are looking for v1alpha1 version of those: https://github.com/openshift/console/blob/f72519fdf2267ad91cc0aa51467113cc36423a49/frontend/packages/knative-plugin/console-extensions.json#L6-L8
      This PR https://github.com/openshift-knative/serverless-operator/pull/1695 moved the CRs to v1beta1, and that breaks that ODC discovery.

      Version-Release number of selected component (if applicable):

      Openshift 4.8, Serverless Operator 1.27

      Additional info:

      https://coreos.slack.com/archives/CHGU4P8UU/p1671634903447019

       

        1. image-2022-12-27-14-40-59-189.png
          485 kB
          jaivardhan Kumar
        2. image-2022-12-27-14-41-36-138.png
          477 kB
          jaivardhan Kumar

            viraj-1 Vikram Raj
            viraj-1 Vikram Raj
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: