Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Helm chart: allow setting ingressClassName on the Ingress

未关闭 适合新手
#10,658 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@commarla 已经在做这个了。

开始于 2026年10月22日。

  • #10659 来自 @commarla —— 未关闭

评估

难度
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.class annotation through ingress.annotations. Kubernetes deprecated it in favor of spec.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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pgadmin-org/pgadmin4 的其他 Issue

查看 pgadmin-org/pgadmin4 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。