Kubernetes reference chart: run the Evidence check Job with --require-runtime-dependencies and --require-audit-under

Đang mở
#2,755 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
helm, kubernetes
Lĩnh vực
devops, infrastructure

Hướng nghiên cứu

Start with deploy/helm/registry-stack/templates/evidence-operation-job.yaml around line 86 and the README paragraphs around lines 487-493, then check the chart's kubeVersion floor. Decide with the maintainer whether the floor can move to 1.29; if so, render the chart and confirm the check Job has the Transit proxy as a native sidecar with restartPolicy: Always plus both required flags, and add the contract test. Done means the rendered Job and README agree, or the README states /ready is the dependency gate.

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

Mô tả

area:evidence enhancement

From the review of #2742, the Kubernetes reference chart under deploy/helm/registry-stack/. The chart is an unsupported reference, so this does not block anything.

What happens

The Evidence check operation Job runs evidence check without --require-runtime-dependencies and --require-audit-under (templates/evidence-operation-job.yaml, around line 86). The chart README (around lines 487-493) explains why: a real dependency check needs the workload-local Transit proxy, and a long-running proxy container would stop a standard Job from completing on every Kubernetes version the chart supports (kubeVersion: ">=1.28.0-0").

So the Job does not prove the signer, sources, token issuer or audit placement before evidence.serve is turned on. The serving process and /ready check them later.

Possible fix

Kubernetes native sidecars (an init container with restartPolicy: Always) stop when the Job's main container exits. They are on by default from Kubernetes 1.29. If the chart floor moves to 1.29 or later:

  • run the Transit proxy as a native sidecar in the check Job,
  • add --require-runtime-dependencies and --require-audit-under <audit path> to the Job,
  • update the README paragraph and add a contract test that the rendered check Job has both flags and a sidecar with restartPolicy: Always.

If the floor stays at 1.28, say in the README that /ready is the dependency gate and close this.

Related: #2192 (the dependency check should name which dependency failed).

Ngôn ngữ chính
Rust
Star
2
Fork
0
Merge trung bình
9 giờ 48 phút
Pull request đã merge (30 ngày)
151

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 registrystack/registry-stack

Tất cả issue của registrystack/registry-stack

Issue tương tự

Thêm issue về Rust

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.