Resource names exceed the 63-char limit with long release/override names
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 62/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- helm, kubernetes
- 领域
- devops, infrastructure
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Go
- 星标
- 110
- 派生
- 63
- 平均合并
- 4 天 1 小时
- 30 天内合并 PR
- 5
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ROCm/gpu-operator 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
ROCm/gpu-operator#688 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
ROCm/gpu-operator#679 ·
维护者通常 1 天内回复
-
[Issue]: Cannot build image for Ubuntu 26.04可能已有人在做 @dhhoang 于 20 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 62/100
ROCm/gpu-operator#631 · 1 条评论 ·
维护者通常 1 天内回复
-
[Issue]: multiple critical and security CVEs found in the images released with 1.5.1可能重新可做 @yansun1996 于 76 天前认领,目前没有进行中的 PR。 未关闭
ROCm/gpu-operator#629 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Node-labeller amd.com/gpu.vram undercounts addressable memory on dpx_nps1 (divides by compute-partition count, ignores memory-partition mode)可能重新可做 @bhatnitish 于 170 天前认领,目前没有进行中的 PR。 未关闭
ROCm/gpu-operator#555 · 已指派 2 人 ·
维护者通常 1 天内回复
查看 ROCm/gpu-operator 的全部 Issue
相似的 Issue
-
release
难度 1/5 1 小时以内 新手友好度 75/100
github/gh-aw-mcpg#17603 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
tinygo-org/tinygo#6727 ·
维护者通常 1 天内回复
-
help wanted
难度 1/5 1 小时以内 新手友好度 94/100
oras-project/oras-go#1827 ·
维护者通常 1 天内回复
-
docs: database/sql Sessions example never commits its batch, and its "Full Example" link is a 404未关闭documentation
难度 1/5 1 小时以内 新手友好度 88/100
ClickHouse/clickhouse-go#2185 ·
维护者通常 1 天内回复
-
bug needs triage receiver/podman
难度 2/5 1-3 小时 新手友好度 76/100
open-telemetry/opentelemetry-collector-contrib#53700 · 1 条评论 ·
维护者通常 1 天内回复