Support trusted provider hostnames for Pipelines as Code
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 50/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- go, kubernetes
- 領域
- devops, infrastructure
調査の方向性
tektoncd/pipelines-as-code#2871 がリリースされた後に開始し、プライマリおよび追加のコントローラーに対する vendored Settings の変換パスと reconciliation パスを調査します。バンドルされたマニフェストと追加コントローラーの RBAC リソースを確認し、Settings の保持、スコープ付き ConfigMap 権限、アノテーションの保持に対するカバレッジを追加します。受け入れ基準を満たし、TektonConfig、OpenShiftPipelinesAsCode、およびアップグレード時の動作が文書化されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
Pipelines as Code PR tektoncd/pipelines-as-code#2871 introduces an administrator-owned trusted-provider-hostnames setting and allows each controller to record authenticated, publicly routable self-hosted providers in the pipelinesascode.tekton.dev/auto-trusted-provider-hostnames ConfigMap annotation.
This operator work should begin after that PAC PR is merged and the change is available in a PAC release.
The operator rebuilds PAC ConfigMap data through PAC's vendored Settings type and creates additional PAC controllers from a filtered copy of the primary manifest. Updating only the PAC images/manifests would leave two integration gaps:
- An operator version using an older PAC
Settingstype cannot round-triptrusted-provider-hostnamesthrough theOpenShiftPipelinesAsCodeorTektonConfigsettings. - Additional controllers use their own ConfigMaps but do not currently receive scoped
update/patchpermission for those ConfigMaps, so they cannot record learned hostnames.
Proposed work
- After tektoncd/pipelines-as-code#2871 merges, bump the PAC dependency and bundled release manifests to a release containing it.
- Ensure
trusted-provider-hostnamesis accepted and preserved in the primary and additional controllersettingsmaps. - Give every enabled additional controller scoped
updateandpatchaccess to its own ConfigMap. Prefer a Role and RoleBinding owned with that additional controller's resources. - Verify operator reconciliation preserves the controller-owned
pipelinesascode.tekton.dev/auto-trusted-provider-hostnamesannotation. - Document configuration through
TektonConfigandOpenShiftPipelinesAsCode, including the upgrade requirement for self-hosted providers using per-repository or incoming webhooks.
Example primary-controller configuration:
spec:
platforms:
openshift:
pipelinesAsCode:
settings:
trusted-provider-hostnames: "ghe.example.com,gitlab.example.com"
Acceptance criteria
- The PAC dependency and manifests contain tektoncd/pipelines-as-code#2871.
- Primary and additional controller settings retain
trusted-provider-hostnamesafter defaulting and reconciliation. - Each additional controller can patch only its configured ConfigMap for learned-host annotation updates.
- Operator reconciliation does not remove the learned-host annotation.
- Tests cover settings conversion, additional-controller RBAC, and annotation preservation.
- Operator documentation explains configuration and upgrade behavior.
- 主要言語
- Go
- スター
- 606
- フォーク
- 270
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 159
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tektoncd/operator のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
kind/feature
難易度 4/5 1週間以上 初心者へのやさしさ 30/100
tektoncd/operator#4275 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
kind/feature
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
tektoncd/operator#3977 · コメント 2 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
kind/feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
tektoncd/operator#3922 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
tektoncd/operator#3845 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
tektoncd/operator の issue をすべて見る
似ている issue
-
area/docs framework/hugo help wanted language/markdown
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
openclaw/crabbox#3060 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
kubeflow/semantic-operator#52 ·
メンテナーはふだん 10 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
PramodBasavarajMenasi/siftwise#52 ·
メンテナーはふだん 1 日以内に返信