Resource names exceed the 63-char limit with long release/override names
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
- 62/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ệ
- helm, kubernetes
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Run the provided helm template reproduction and inspect helm-charts-k8s/templates/event-recorder-clusterrolebinding-rbac.yaml, then trace the top-level and KMM fullname helpers that produce the affected names. Confirm which rendered resources exceed Kubernetes's 63-character limit, implement a consistent fix for the top-level and KMM charts, and rerun the reproduction to verify those names are within the limit; the NFD dependency may remain out of scope.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Several templates use a fullname helper's output as a prefix and append suffixes. Truncation happens inside the helper, before the suffix is appended, so final resource names can exceed the 63-character Kubernetes name limit.
Reproduction:
helm template $(printf 'r%.0s' {1..30}) . --set nameOverride=longvaluehere \
| grep -nE 'name:' \
| awk '{ for(i=1;i<=NF;i++) if(length($i)>63) print length($i), $0 }'
This prints ~20 names over 63 chars, in three groups:
-
KMM subchart (kmm.fullname) e.g.
-kmm-event-recorder-clusterrolebinding. Longest appended suffix: -event-recorder-clusterrolebinding (34 chars). -
Top-level gpu-operator chart e.g.
-event-recorder-clusterrolebinding,-metrics-exporter-rbac-proxy,-leader-election-rolebinding. Same root cause in the top-level fullname helper. -
node-feature-discovery dependency
-node-feature-discovery-{master,worker}-conf. Originates in the NFD subchart; likely not fixable in this repo.
You can see an example here.
Solutions
Possible solution: reserve room for the longest suffix in the fullname helpers, shorten the resource-name suffixes, or append a short hash to preserve uniqueness. Happy to implement a fix if needed.
- Ngôn ngữ chính
- Go
- Star
- 110
- Fork
- 63
- Merge trung bình
- 4 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 ROCm/gpu-operator
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ROCm/gpu-operator#688 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ROCm/gpu-operator#679 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Issue]: Cannot build image for Ubuntu 26.04Có thể đã có người làm @dhhoang đã nhận 20 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
ROCm/gpu-operator#631 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Issue]: multiple critical and security CVEs found in the images released with 1.5.1Có thể làm lại được @yansun1996 đã nhận 76 ngày trước và không có pull request nào đang mở. Đang mở
ROCm/gpu-operator#629 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Node-labeller amd.com/gpu.vram undercounts addressable memory on dpx_nps1 (divides by compute-partition count, ignores memory-partition mode)Có thể làm lại được @bhatnitish đã nhận 170 ngày trước và không có pull request nào đang mở. Đang mở
ROCm/gpu-operator#555 · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ROCm/gpu-operator
Issue tương tự
-
docs: database/sql Sessions example never commits its batch, and its "Full Example" link is a 404Đang mởdocumentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
ClickHouse/clickhouse-go#2185 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tagvalue.Read fails with "token too long" on lines over 64 KiBCó thể đã có người làm @G26karthik đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
spdx/tools-golang#319 ·
-
area: community priority: p1 size: s type: docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
romanitalian/paytriage#23 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100