pipeline icon indicating copy to clipboard operation
pipeline copied to clipboard

restricting tekton.dev labels in metadata

Open pritidesai opened this issue 2 years ago • 5 comments

Tekton resources are automatically assigned certain labels including the ones with tekton.dev. The labels are created and propagated from one resource to another using this group name to signify the association and relationship between pipeline task, taskRun, pipeline, and pipelineRun . We should restrict possibility of overwriting those labels otherwise it could result in conflicting resources.

Result of the discussion in PR #2826.

Opening this issue to track the work done in PR #2891 and possibly implementing the restriction.

pritidesai avatar Nov 09 '21 19:11 pritidesai

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale with a justification. Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with /close with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle stale

Send feedback to tektoncd/plumbing.

tekton-robot avatar Feb 07 '22 20:02 tekton-robot

/priority backlog

lbernick avatar Feb 07 '22 20:02 lbernick

/remove-lifecycle stale

vdemeester avatar Feb 08 '22 09:02 vdemeester

thanks @afrittoli hints out. TEP-0106 should also be applied with the similar constraints to avoid overwriting the Tekton metadata. marked a follow up action on my side to sync the work from this thread.

austinzhao-go avatar May 04 '22 14:05 austinzhao-go

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale with a justification. Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with /close with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle stale

Send feedback to tektoncd/plumbing.

tekton-robot avatar Aug 07 '22 16:08 tekton-robot

@vdemeester is this closed now as a result of https://github.com/tektoncd/pipeline/pull/6441?

lbernick avatar Jun 27 '23 16:06 lbernick

@lbernick not really, #6441 was just about the "other projects" labels issues (chains.tekton.dev, …). This issue is more about restricting tekton.dev/* labels / annotations to only be set by us (tektoncd/pipeline controllers) and filtered from outside (aka not allowed).

vdemeester avatar Jul 03 '23 12:07 vdemeester