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

403 Forbidden: console service account cannot list resources like Knative channels and Event sources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.21.0
    • 4.19.0
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      We have some knative API endpoints for which we are getting 403 in localhost.
      /api/console/knative-event-sources 
      Error: {"error":"console service account cannot list resource: 403 Forbidden"}
      /api/console/knative-channels 
      Error: {"error":"console service account cannot list resource: 403 Forbidden"}

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

          

      How reproducible:

          

      Steps to Reproduce:

          1. Install `Red Hat OpenShift Serverless` operator      
          2. Create `knative-serving` CR in `knative-serving` namespace
          3. Create `knative-eventing` CR in `knative-eventing` namespace
          4. Navigate to Serverless > Eventing > Event sources tab
          5. Navigate to Serverless > Eventing > Channels tab
          

      Actual results:

      - /api/console/knative-event-sources request fails with 403 error 
      - /api/console/knative-channels  request fails with 403 error   

      Expected results:

          knative-event-sources and knative-channels requests should not fails 403 Forbidden error in the localhost.

      Additional info:

          

              rh-ee-jonjacks Jon Jackson
              viraj-1 Vikram Raj
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: