Support ClusterTrustBundle v1 on clusters without v1beta1

Đã đóng
#1,898 0 bình luận 3 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@ahmedtd đang làm issue này rồi.

Từ ngày 29/9/2026.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes, shell
Lĩnh vực
api, backend, devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Go
Star
6.1k
Fork
676
Merge trung bình
2 ngày
Pull request đã merge (30 ngày)
456

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của agent-substrate/substrate

Tất cả issue của agent-substrate/substrate

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.