Support ClusterTrustBundle v1 on clusters without v1beta1

クローズ
#1,898 コメント 0 件 リアクション 3 件 担当者 1 名 GitHub で見る

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

@ahmedtd がすでに取り組んでいます。

2026年9月29日 から。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, kubernetes, shell
領域
api, backend, devops

調査の方向性

Start by locating the ClusterTrustBundle callers in the signer, atelet, atecontroller, API client, ate-setup, and shell installer. Trace how each discovers or selects the served API version, then inspect the existing PodCertificateRequest version-handling coverage. Done means v1-only, v1beta1-only, both, and neither are covered, with a clear failure when neither is served and no indefinite wait.

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

説明

area/dev-infra area/security kind/bug prio/P1

Reproduced on AKS 1.37.0: PodCertificateRequest and ClusterTrustBundle are served at certificates.k8s.io/v1, but /apis/certificates.k8s.io/v1beta1 returns NotFound. With healthy nodes, hack/install-ate.sh --deploy-ate-system reaches:

Waiting for podcertificate ClusterTrustBundles to be ready...

Current scope: agent-substrate/substrate#1829 has since added API discovery, v1 preference, and v1beta1 fallback for the signer's PodCertificateRequest watch and status writes. The repro used an older image, whose logs showed failed to list *v1beta1.PodCertificateRequest; that particular error is no longer expected from current main on this cluster. ClusterTrustBundle callers still use v1beta1: the signer publishes bundles through it, atelet and atecontroller watch/read bundles through it, the API client reads them through it, and ate-setup waits for a v1beta1 bundle. The shell installer waits indefinitely for bundles the signer cannot publish on a v1-only cluster.

Expected: Select a served CTB version (prefer v1, fall back to v1beta1) across producers, consumers, and install checks. Preserve support for 1.36 clusters serving only v1beta1; fail clearly if neither API is served instead of waiting indefinitely. Add coverage for v1-only, beta-only, both, and neither.

Related: agent-substrate/substrate#1819 documents the same v1-only mismatch for bring-your-own 1.37 GKE clusters, but focuses on GKE setup and documentation.

主要言語
Go
スター
6.1k
フォーク
676
平均マージ
2日 2時間
マージ済み PR(30日)
538

環境構築

はじめの一歩

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

agent-substrate/substrate のほかの issue

agent-substrate/substrate の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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