Lifecycle policy annotations for controller-managed Coder objects

Aperta
#151 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@ThomasK33 ci sta già lavorando.

Dal 2/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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

Lingua principale
Go
Stelle
5
Fork
3
Merge medio
1h 50m
PR unite (30g)
160

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/coder-k8s

Tutte le issue di coder/coder-k8s

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.