Lifecycle policy annotations for controller-managed Coder objects

オープン
#151 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@ThomasK33 がすでに取り組んでいます。

2026年10月2日 から。

評価

この issue はまだ評価されていません。

説明

enhancement

Goal: one shared contract for how controller CRDs that manage Coder objects handle deletion, drift and adoption. Patterns come from AWS Controllers for Kubernetes and Azure Service Operator.

Draft contract:

  • coder.com/deletion-policy: delete or retain.
  • coder.com/reconcile-policy: manage, observe (read only, no writes).
  • Adoption of an existing Coder object only on explicit request.
  • The controller records the Coder ID in status and never creates twice after an ambiguous create.

Open points:

  1. Overlap between retain and a detach-on-delete mode; precedence between object and namespace settings.
  2. A user-written adopt annotation is a request, not proof of ownership. Check identity and tenant before any write or delete.

Delivery: no standalone framework. Each part lands with the first controller resource that needs it.

Owner: maintainer desk.


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

主要言語
Go
スター
5
フォーク
3
平均マージ
1時間 50分
マージ済み PR(30日)
160

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/coder-k8s のほかの issue

coder/coder-k8s の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。