tektoncd / tektoncd/pipelines-as-code

tkn pac bootstrap errors out on OpenShift

Open
#780 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.