coder-logstream-kube deployment naming conflict

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

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
go, helm, kubernetes
领域
devops, tooling

调研方向

先阅读 issue 中链接的 commit,了解 deployment 名称是如何推导出来的,然后检查 Helm chart 模板和 values,找出现有的可配置 RBAC 名称。添加可配置的 deployment 名称或符合 chart 约定的 nameOverride。完成标准是:同时渲染 coder 和 coder-logstream-kube 不再生成两个名为 coder 的 deployment。

由索引模型根据 Issue 内容生成。

描述

Hey, we are using a wrapper chart to deploy Coder and coder-logstream-kube. Therefore, the release name of both is coder, which leads to a conflict in the name of the deployment in the new version, as https://github.com/coder/coder-logstream-kube/commit/500d0d50c40e0b3d6ced56167bce80a49d76ad44 changed the name of the deployment to the name of the release. Would it be possible, to support something like a nameOverride in coder-logstream-kube, to prevent the naming conflict and keep the deployment of Coder itself as coder or make the name of the deployment configurable as for the RBAC resources?

To reproduce:

  1. Create a Helm chart with coder and coder-logstream-kube as dependency charts
  2. Deploy or template the chart -> leads to 2 deployment with the name coder
主要语言
Go
星标
28
派生
9
平均合并
7 天 11 小时
30 天内合并 PR
6

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

coder/coder-logstream-kube 的其他 Issue

查看 coder/coder-logstream-kube 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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