[Feature Request]: use random passwords by default
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- helm, kubernetes
调研方向
首先检查 lake.encryptionSecret.secret、mysql.username、mysql.password 的 chart 值以及 ui.basicAuth 设置,然后将其与现有的 Grafana secret 工作流进行比较。渲染 chart,以验证随机凭据、已启用的 UI 身份验证,以及包含用户请求值的 Secret 对象。
由索引模型根据 Issue 内容生成。
描述
This helm chart currently deploys a very insecure devlake instance by default: authentication for the UI is disabled, DB passwords are hardcoded while the user is asked to generate the cumbersome encryption key manually which is exported as an env var and lost immediately anyways.
This makes the setup quite vulnerable by so I propose populating all access credentials with random values if they are not explicitly set and have the user retrieve them from the created secret objects if needed. This is already the workflow for Grafana and works just fine.
Specifically:
| Value | Current default | Proposed default |
|---|---|---|
lake.encryptionSecret.secret |
manually provided by user | random |
mysql.username |
merico | random |
mysql.password |
merico | random |
ui.basicAuth.enabled |
false | true |
ui.basicAuth.password |
- | random |
- 主要语言
- Go Template
- 星标
- 52
- 派生
- 71
- 平均合并
- 16 小时 15 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/devlake-helm-chart 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
apache/devlake-helm-chart#367 · 6 条评论 · 2 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 75/100
apache/devlake-helm-chart#366 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
apache/devlake-helm-chart#381 ·
-
难度 4/5 3-5 天 新手友好度 48/100
apache/devlake-helm-chart#374 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
apache/devlake-helm-chart#373 · 1 条评论 ·
查看 apache/devlake-helm-chart 的全部 Issue
相似的 Issue
-
agent/sec-check hive/hosted-available-lke648397-260827-5n31 security
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
agentic-workflows documentation workflow-editor
难度 1/5 1-3 小时 新手友好度 65/100
githubnext/gh-aw-workshop#4246 ·
维护者通常 1 天内回复
-
sync-en
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 3 天内回复
-
documentation good first issue
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复