Helm chart: allow setting ingressClassName on the Ingress
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 85/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- helm, kubernetes, yaml
- 领域
- devops
调研方向
阅读 pkg/helm/values.yaml 和 pkg/helm/templates/ingress.yaml,了解 ingress 设置的定义和渲染方式。添加可选的 ingress.className 值,并在其设置后将其渲染为 spec.ingressClassName;更新 chart README,写明该值。完成条件是:默认值为空时保留当前清单,配置该值后它会出现在 Ingress 中。
由索引模型根据 Issue 内容生成。
描述
Describe the solution you'd like
Add an optional ingress.className value to the Helm chart (pkg/helm) and render it as spec.ingressClassName on the Ingress when set.
Today templates/ingress.yaml never sets ingressClassName. On a cluster with no default IngressClass, or with several ingress controllers, no controller picks up the Ingress. We deploy the chart behind Traefik and currently patch the rendered manifest with a post-renderer to add the field.
With an empty default (className: ""), the chart renders exactly what it renders today, so the change is backward compatible. Many common charts expose the same value under the same name.
Describe alternatives you've considered
- The
kubernetes.io/ingress.classannotation throughingress.annotations. Kubernetes deprecated it in favor ofspec.ingressClassName, and some controllers no longer honor it. - A Helm post-renderer or Kustomize patch that adds
spec.ingressClassName. It works, but every user has to maintain it outside the chart.
Additional context
I can open a pull request for this: one value in values.yaml, three lines in templates/ingress.yaml, one row in the chart README.
- 主要语言
- Python
- 星标
- 3.9k
- 派生
- 910
- 平均合并
- 1 天 16 小时
- 30 天内合并 PR
- 41
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pgadmin-org/pgadmin4 的其他 Issue
-
Feature
难度 2/5 1-3 小时 新手友好度 78/100
pgadmin-org/pgadmin4#10426 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Feature
难度 2/5 1-3 小时 新手友好度 68/100
pgadmin-org/pgadmin4#10272 · 5 条评论 ·
维护者通常 1 天内回复
-
Housekeeping
难度 2/5 1-3 小时 新手友好度 76/100
pgadmin-org/pgadmin4#10157 · 1 条评论 ·
维护者通常 1 天内回复
-
Removing a parent from "Inherited from" hides its columns in the grid, but Save doesn't drop them可能已有人在做 @VIBVEL47 今天认领。 未关闭Bug
难度 3/5 1-2 天 新手友好度 35/100
pgadmin-org/pgadmin4#10657 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 1/100
pgadmin-org/pgadmin4#10656 ·
维护者通常 1 天内回复
查看 pgadmin-org/pgadmin4 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
gramaziokohler/compas_timber#870 ·
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
autowarefoundation/autoware_carla_scenario#500 ·
维护者通常 1 天内回复
-
good first issue priority: low size: XS testing
难度 1/5 1-3 小时 新手友好度 86/100
cubrid-lab/cubrid-mcp-server#385 ·
维护者通常 1 天内回复
-
good first issue priority: low size: S testing
难度 2/5 1-3 小时 新手友好度 85/100
cubrid-lab/cubrid-cookbook-python#447 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100