tektoncd / tektoncd/pipelines-as-code
tkn pac bootstrap errors out on OpenShift
Open
Nobody has claimed this yet.
bug
priority/high
- Dominant language
- Go
- Stars
- 214
- Forks
- 144
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 27
Description
$ tkn pac bootstrap [main]
🏃 Checking if Pipelines as Code is installed.
Error: could not detect Pipelines as Code configmap on the cluster, please reinstall
it happens when we disable PAC from TektonConfig and then install using tkn-pac
when we disable the PAC, Repository CRD doesn't get deleted which causes this issue
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 by reproducing tkn pac bootstrap after disabling Pipelines as Code in TektonConfig and reinstalling with tkn-pac. Trace how bootstrap detects the Pipelines as Code ConfigMap and how the remaining Repository CRD affects that check. Done means bootstrap completes successfully in this OpenShift scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100