feat: option to assign user secrets to specific templates
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
The payload names no files or tests, so begin by locating the existing user secrets feature in the Go codebase and how secrets are injected into workspaces. Work out where a template scope would need to be stored and checked, then confirm the expected behavior with the maintainers via the single existing comment. Done means a secret can be limited to chosen templates in the API, CLI and UI, and is injected only into workspaces built from those templates, with the default still applying to all.
由索引模型根据 Issue 内容生成。
描述
Version: v2.39.1
Right now user secrets are applied to all workspaces by default. It would be really useful to have an option when creating or editing a secret to choose which template(s) it should be used on.
Why this is needed:
- Different templates have different environments and paths. For example, for Windows based templates the file paths will be completely different compared to Linux or Docker templates, so having the same secret injected everywhere doesn't always work.
- In general, it gives better flexibility and security to choose which workspaces get a specific secret based on the template instead of exposing every secret to all workspaces.
Expected behavior:
When adding/editing a secret in the UI or CLI, add a selector to either apply it to All templates (default) or pick specific templates where the secret should be injected.
- 主要语言
- Go
- 星标
- 17.5k
- 派生
- 1.7k
- 平均合并
- 2 天 23 小时
- 30 天内合并 PR
- 575
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/coder 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug: token allow-list with a specific template ID returns 500 "column reference \"id\" is ambiguous"可能已有人在做 @stirby 于 22 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
coder/coder#32059 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
feat(cli): add `--agents-allowed` to `coder templates push`可能已有人在做 @jeremyruppel 于 4 天前认领。 未关闭cli
难度 2/5 1-3 小时 新手友好度 82/100
coder/coder#32005 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
feat(cli): add `--require-active-version` to `coder templates push`可能已有人在做 @jeremyruppel 于 4 天前认领。 未关闭cli
难度 2/5 1-3 小时 新手友好度 74/100
coder/coder#32004 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
feat(cli): add `--dormancy-auto-deletion` to `coder templates push`可能已有人在做 @jeremyruppel 于 4 天前认领。 未关闭cli
难度 2/5 1-3 小时 新手友好度 72/100
coder/coder#32003 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
fix p1-high scope:aji
难度 2/5 1-3 小时 新手友好度 75/100
scttfrdmn/burst-core#41 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
OneBusAway/watchdog#553 ·
维护者通常 1 天内回复
-
enhancement receiver/prometheus
难度 2/5 1-3 小时 新手友好度 75/100
open-telemetry/opentelemetry-collector-contrib#53959 · 2 条评论 ·
维护者通常 1 天内回复
-
enhancement P3 server
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
area/orchestration kind/bug
难度 2/5 1-3 小时 新手友好度 64/100
vllm-project/aibrix#3746 · 1 条评论 ·
维护者通常 1 天内回复