configs, configs, configs

未关闭
#511 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
helm, yaml

调研方向

首先比较每个 Helm chart 的 values.yaml 文件,并阅读关于共享默认值的链接 pull request 讨论。确定哪些配置值需要运行时覆盖以及跨 chart 协调。选定的配置方案完成文档化并得到一致应用,且任何提议的 CI 检查都涵盖 chart 默认值之间的偏差,才算完成。

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

描述

Per https://github.com/bitcoin-dev-project/warnet/pull/507#discussion_r1741850547, we are starting to have a few places where configs are defined that rely on shared defaults (rpc ports, rpc usernames and passwords, etc).

Generally speaking, I don't think config values should need a PR to change: they should have a sane default (specified in the values.yaml for each chart, perhaps?) and then a way for the user to supply an override at run time.

We might need to rely on just making sure each values.yaml uses the same default for things like rpc ports. Even better, have a CI check that ensures these don't get out of sync over time.

Another idea would be for anything that requires coordination across multiple helm charts, e.g. rpc port, these must be defined outside the values.yaml file and injected into each chart via some sort of generic config.

主要语言
Python
星标
153
派生
87
平均合并
5 天 7 小时
30 天内合并 PR
3

环境准备

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

从这里开始

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

bitcoin-dev-project/warnet 的其他 Issue

查看 bitcoin-dev-project/warnet 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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