Add a way (annotations?) to mark a Tekton Resource to be skipped=

オープン
#979 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
security

調査の方向性

まず、chains controller が既存の TaskRuns と PipelineRuns をどのように検出して署名するかを追跡します。提案されている署名付き annotation の値を新しい skip annotation と比較し、続いて両方のリソース種別に対する動作を定義して、controller のテストで検証します。issue にはファイル名もテスト名も記載されていません。

索引モデルが issue の本文から書いたものです。

説明

kind/feature
Feature request

Provide a way to mark a Tekton resources (TaskRun or PipelineRun) to be skipped by the controller.
On of the possible idea would be to add an extra value to chains.tekton.dev/signed with a skip value, or an entirely new annotations (chains.tekton.dev/skip).

Use case

One of the use case for this is, if we enable chains on a very Tekton resources heavy cluster (like 5000s existing PipelineRun, or more…). At start, the chains controller will load them all and try to sign them all (more or less at once). This will possible generate a crazy amount of load if not completely kill the controller. One idea to reduce this, would be to allow a user to mark previous / existings resources to not be signed, making chains work essentially no-op when it starts (or very low).

It could also, probably, be useful if one is experimenting with some Pipeline or Task and doesn't want chains to sign it.

cc @lcarva @concaf

主要言語
Go
スター
279
フォーク
171
平均マージ
2日 4時間
マージ済み PR(30日)
70

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tektoncd/chains のほかの issue

tektoncd/chains の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。