Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15742

DO288: ch07s03 - insufficient permission to list tasks with tkn - RHT2500082

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • DO288 - RHOCP4.18-en-3-20250912
    • DO288
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 7
    • en-US (English)

      URL: ch07s03
      Reporter RHNID: ajuarez
      Section title: Creating CI/CD Workflows by Using Red Hat OpenShift Pipelines
      Language: English

      Issue description

      Trying to run the following:

      tkn -n openshift-pipelines t describe buildah

      returns:

      [student@workstation pipelines-creation]$ tkn -n openshift-pipelines t describe buildah
      Failed to list objects from openshift-pipelines namespace
      Error: failed to get TaskRuns for Task buildah: taskruns.tekton.dev is forbidden: User "developer" cannot list resource "taskruns" in API group "tekton.dev" in the namespace "openshift-pipelines"

      It could be good to have a note stating that being logged in as a cluster admin it's needed  to see the tasks in the openshift-pipelines namespace.

       

              gls-curriculum-ocp-adv@redhat.com PTL - AppDev Team
              carias@redhat.com Carlos Arias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: