Lifecycle policy annotations for controller-managed Coder objects

Đang mở
#151 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@ThomasK33 đang làm issue này rồi.

Từ ngày 2/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
Go
Star
5
Fork
3
Merge trung bình
1 giờ 50 phút
Pull request đã merge (30 ngày)
160

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coder/coder-k8s

Tất cả issue của coder/coder-k8s

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.