tektoncd / tektoncd/pipelines-as-code

Allow wildcard URL matching in repository CR

Open
#1,246 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature priority/medium
Dominant language
Go
Stars
214
Forks
144
Avg merge
2d 11h
Merged PRs (30d)
27

Description

After first coming in contact with the Repository CR I wondered, if it might be feasible to optionally allow url wildcard / prefix matching. This would change the semantics of Repository to something like Repositories.

Use cases:

  • Reducing configuration overhead
    • E.g. in an (GitHub) organization context where I trust all members / repositories, I do not have to create a Repository CR for each single repository, which in my case would be managed via GitOps.
  • Allowing a common set of custom parameter configurations (which seems to be merged in a recent commit) without copy-paste.
  • In the context of this feature request a solution for #934

Notes:

  • For the use cases above, I have running a common CI setup in a single namespace in mind. In my organization I do not make use of the auto-configuration of new repositories.

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 tracing how the Repository CR currently matches repository URLs and review the relationship to issue #934. Define the optional wildcard or prefix semantics, including configuration precedence and matching boundaries; done means the behavior is specified and covered for the stated organization and shared-configuration use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.