Tekton Dashboard Cannot Get Version
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 608
- Forks
- 263
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 125
Description
Doing a fresh install (0.78.1) using the Helm chart the TektonDashboard has this error.
I believe before we may of modified the RBAC permissions manually to fix this.
There is a slack conversation where this came up though not directly related @ https://tektoncd.slack.com/archives/CKZQUT3MH/p1765846498548289
{"level":"info","ts":1766072691.695991,"caller":"router/router.go:126","msg":"Adding Kube API"}
{"level":"info","ts":1766072691.6960745,"caller":"router/router.go:137","msg":"Adding Dashboard APIs"}
{"level":"info","ts":1766072691.696104,"caller":"router/router.go:40","msg":"Adding Web API"}
{"level":"info","ts":1766072691.6961162,"caller":"router/router.go:77","msg":"Adding API for properties"}
{"level":"info","ts":1766072691.696125,"caller":"router/router.go:64","msg":"Adding API for health"}
{"level":"info","ts":1766072691.6961336,"caller":"router/router.go:70","msg":"Adding API for readiness"}
{"level":"error","ts":1766072691.6999228,"caller":"endpoints/dashboard.go:27","msg":"Error getting the Tekton dashboard info ConfigMap: configmaps \"dashboard-info\" is forbidden: User \"system:serviceaccount:tekton-pipelines:tekton-dashboard\" cannot get resource \"configmaps\" in API group \"\" in the namespace \"tekton-pipelines\"","stacktrace":"github.com/tektoncd/dashboard/pkg/endpoints.getVersion\n\tgithub.com/tektoncd/dashboard/pkg/endpoints/dashboard.go:27\ngithub.com/tektoncd/dashboard/pkg/endpoints.Resource.GetDashboardVersion\n\tgithub.com/tektoncd/dashboard/pkg/endpoints/dashboard.go:36\nmain.main\n\tgithub.com/tektoncd/dashboard/cmd/dashboard/main.go:98\nruntime.main\n\truntime/proc.go:283"}
{"level":"error","ts":1766072691.699954,"caller":"endpoints/dashboard.go:39","msg":"Error getting the Tekton Dashboard deployment version. Version is unknown","stacktrace":"github.com/tektoncd/dashboard/pkg/endpoints.Resource.GetDashboardVersion\n\tgithub.com/tektoncd/dashboard/pkg/endpoints/dashboard.go:39\nmain.main\n\tgithub.com/tektoncd/dashboard/cmd/dashboard/main.go:98\nruntime.main\n\truntime/proc.go:283"}
{"level":"info","ts":1766072691.6999636,"caller":"dashboard/main.go:98","msg":"Tekton Dashboard version "}
{"level":"info","ts":1766072691.6999722,"caller":"dashboard/main.go:99","msg":"Starting to serve on [::]:9097"}
It also seems to yield this error in the TektonConfig (kubectl describe tektonconfig config)
Status:
Annotations:
operator.tekton.dev/pre-upgrade-version: v0.78.0
Conditions:
Last Transition Time: 2025-12-18T14:52:04Z
Status: True
Type: ComponentsReady
Last Transition Time: 2025-12-18T14:30:23Z
Message: PostReconciliation failed with message: TektonDashboard: reconcile again and proceed
Reason: Error
Status: False
Type: PostInstall
Last Transition Time: 2025-12-18T14:29:13Z
Status: Unknown
Type: PostUpgrade
Last Transition Time: 2025-12-18T14:29:13Z
Status: True
Type: PreInstall
Last Transition Time: 2025-12-18T14:29:13Z
Status: True
Type: PreUpgrade
Last Transition Time: 2025-12-18T14:52:04Z
Message: PostReconciliation failed with message: TektonDashboard: reconcile again and proceed
Reason: Error
Status: False
Type: Ready
Version: v0.78.0
Events: <none>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with pkg/endpoints/dashboard.go and the dashboard startup path in cmd/dashboard/main.go, then inspect the Helm chart RBAC for the tekton-dashboard service account. Reproduce a fresh 0.78.1 installation and verify that dashboard-info can be read, the version is reported, and TektonConfig reconciliation completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- infrastructure, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100