AI providers, chat models and AI policies as controller CRDs

未關閉
#154 2 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@ThomasK33 已經在處理了。

開始於 2026年10月2日。

評估

這個 Issue 還沒有評估資料。

描述

enhancement

Goal: manage Coder AI configuration from Kubernetes with three resources:

  • CoderAIProvider: endpoint, type and a reference to a Kubernetes Secret with the credentials.
  • CoderChatModel: provider reference, model, default flag, allowed groups.
  • CoderAIPolicy: attaches to a group or user; budgets and limits.

Why CRDs: provider API keys are write-only in Coder. A controller can hash the referenced Secret and resend on change. The aggregated API server must not get wider Secret access.

Rules: each policy field ships only when Coder really enforces it. No settings that Coder ignores.

Prerequisites: the Coder SDK v2.37 bump. A security plan (credential scope, write-only secrets, ambiguous creates) comes before implementation.

Owner: maintainer desk.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: medium

主要語言
Go
星號
5
分支
3
平均合併
1 小時 50 分鐘
30 天內合併 PR
160

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

coder/coder-k8s 的其他 Issue

查看 coder/coder-k8s 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。