🤖 docs: keep the standalone aggregated API server session token in a Secret
まだ誰も着手していません。
評価
- 難易度
- 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
- スター
- 4
- フォーク
- 3
- 平均マージ
- 5時間 26分
- マージ済み PR(30日)
- 17
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/coder-k8s のほかの issue
coder/coder-k8s の issue をすべて見る
似ている issue
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
microsoft/agent-framework-go#1179 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
infiniflow/ragflow#20223 · リアクション 1 件 ·
-
bug needs triage pkg/translator/faro
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · コメント 1 件 ·