-
Bug
-
Resolution: Done
-
Critical
-
Pipelines 1.10.0
-
None
-
1
-
False
-
None
-
False
-
-
-
Pipelines Sprint 231, Pipelines Sprint 232, Pipelines Sprint 233, Pipelines Sprint 234
Versions and Operating System
Kubernetes version:
Kubernetes Version: v1.24.6+5157800
Tekton Pipeline version:
tkn version
Client version: 0.29.0
Pipeline version: v0.33.2
Triggers version: v0.19.0
Operator version: v0.55.1
Operating System:
Fedora 36
Expected Behavior
`tkn taskrun list` command should work fine and show the list of taskruns
Actual Behavior
`tkn taskrun list` command throwing error
Error: failed to list TaskRuns from namespace test-list: taskruns.tekton.dev is forbidden: User "user1" cannot list resource "taskruns" in API group "tekton.dev" at the cluster scope
Steps to Reproduce the Problem
1. Login to any cluster as a normal user who have access to limited namespaces and have pipeline installed
2. Hit command `tkn tr ls`
3. See the error
Additional Info
It is working fine with tkn 0.28.0
Upstream issue - https://github.com/tektoncd/cli/issues/1874