🤖 docs: keep the standalone aggregated API server session token in a Secret
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 75/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- docker, kubernetes
- 领域
- devops, documentation, security
调研方向
要编辑的文件是 docs/how-to/deploy-aggregated-apiserver.md。阅读现有的“Option B: standalone”部分以了解当前的 Deployment 规范。创建一个 Kubernetes Secret 清单,修改 Deployment 以使用 valueFrom.secretKeyRef 和 $(VAR) 扩展。在集群上测试,以确保聚合 API 服务器能够进行身份验证,并且令牌不再在 Deployment 规范中可见。
由索引模型根据 Issue 内容生成。
描述
Problem
docs/how-to/deploy-aggregated-apiserver.md "Option B: standalone" passes the Coder admin session token as a literal --coder-session-token=... argument. The token then sits in plain text in the Deployment spec, and anyone who can read Deployments in coder-system can see it. This practice predates #126, which only fixed the command syntax.
Proposal
No code change is needed. Store the token in a Secret, expose it to the container as an environment variable with valueFrom.secretKeyRef, and reference it in the args with Kubernetes $(VAR) expansion, for example --coder-session-token=$(CODER_SESSION_TOKEN). Update the docs to show this, and verify on a real cluster that the server authenticates and the Deployment spec no longer contains the token.
Owner and trigger
Owner: maintainer desk. Start after #126 lands, because it edits the same block.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: xhigh
- 主要语言
- Go
- 星标
- 5
- 派生
- 3
- 平均合并
- 3 小时
- 30 天内合并 PR
- 192
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/coder-k8s 的其他 Issue
-
CoderWorkspacePoolMember checkCreate: trust only Coder's own 404 on the name lookup (before PR 12)未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
TestReconcile_LicenseRotationUploadsNewSecretValue fails at -count=3 (reuses a control plane name)未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
CoderMCPServer Kind E2E follow-ups可能已有人在做 @ThomasK33 于 2 天前认领。 未关闭
coder/coder-k8s#390 · 已指派 1 人 ·
维护者通常 1 天内回复
-
CoderMCPServer delete and RBAC test follow-ups可能已有人在做 @ThomasK33 于 3 天前认领。 未关闭
coder/coder-k8s#378 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Ownership proof for Coder IDs recorded in controller status (D11 B)可能已有人在做 @ThomasK33 于 3 天前认领。 未关闭
coder/coder-k8s#372 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
kind/bug
难度 2/5 1-3 小时 新手友好度 74/100
kubernetes-sigs/kueue#17385 ·
维护者通常 1 天内回复
-
Tablet Pods keep only one of several topology spread constraints that share a label selector可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
planetscale/vitess-operator#858 ·
维护者通常 2 天内回复
-
Realtime: ASR EOU language tags leak into the LLM conversation (unintended reply-language switching)可能已有人在做 @nexxtmobile 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
content:edit documentation effort:high
难度 1/5 1-3 小时 新手友好度 67/100
cloudflare/cloudflare-docs#34428 ·
维护者通常 1 天内回复
-
generate: duplicate-skill warning ignores lint.allow_overrides when a local skill shadows a builtin未关闭
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复