feat: validate official Kubernetes module values and provider defaults
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 62/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ệ
- ruby
- Lĩnh vực
- backend, infrastructure
Hướng nghiên cứu
Start from the module rendering path that already loads module defaults, and locate where each official Kubernetes module's schema.yaml is declared so validation can run before Helm rendering. Then find where provider defaults are stored and how the precedence hierarchy is documented, and wire them into the existing rendering flow for the selected provider only. Add tests covering valid values, invalid values (asserting the error names the module and value path), defaults precedence, and client overrides, plus a regression run over the existing DigitalOcean manifests to confirm they still render.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
The Kubernetes module contract documents strict schemas for official modules and a defaults hierarchy that includes provider defaults. Current platform rendering loads module defaults, but does not apply schema.yaml to module values or load provider defaults through the normal rendering path. This leaves the documented module contract unenforced.
Scope
- Validate values for official Kubernetes modules against their declared
schema.yamlbefore rendering. - Apply provider defaults in the documented precedence order for the selected provider.
- Keep error messages actionable and identify the module and invalid value path.
- Add coverage for valid values, invalid values, defaults precedence, and client overrides.
Acceptance criteria
- Invalid official module values fail validation before Helm rendering.
- Provider defaults are applied only for the selected provider and are overridden according to the documented precedence.
- Existing supported DigitalOcean platform manifests continue to render successfully.
- Ngôn ngữ chính
- Ruby
- Star
- 0
- Fork
- 0
- Merge trung bình
- 3 giờ 23 phút
- Pull request đã merge (30 ngày)
- 24
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của opsd-io/opsd-cli
-
area: cli enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: cli enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: cli enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: cli enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: modules enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của opsd-io/opsd-cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
swombat/souls-house#770 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
riverqueue/river#1576 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
respond_to? on a poly receiver answers true for a program class's private or protected methodĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
presidentbeef/brakeman#2063 ·