Files
headlamp-rook-plugin/docs/architecture/adr/README.md
T
DevContainer User 61598f5f8b docs: add architecture decision records
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 13:49:57 +00:00

1.9 KiB

Architecture Decision Records (ADRs)

What is an ADR?

An Architecture Decision Record (ADR) captures an important architectural decision made along with its context and consequences. ADRs are immutable once accepted — if a decision is reversed, a new ADR is created that supersedes the original.

Format

This project uses the Nygard-style ADR format:

  • Title: Short noun phrase describing the decision
  • Status: Proposed, Accepted, Deprecated, or Superseded
  • Context: Forces at play, including technical, political, and project-specific
  • Decision: The change being proposed or enacted
  • Consequences: What becomes easier or harder as a result

Index

ADR Title Status Date
001 React Context for Centralized Rook-Ceph State Accepted 2026-03-05
002 extractJsonData() Pattern for KubeObject Unwrapping Accepted 2026-03-05
003 Strictly CommonComponents Only (No Direct MUI) Accepted 2026-03-05
004 Read-Only Plugin with Cluster-Wide RBAC Scope Accepted 2026-03-05

Creating New ADRs

  1. Copy an existing ADR as a template.
  2. Assign the next sequential number (e.g., 005).
  3. Fill in all sections: Context, Decision, Consequences, Alternatives Considered.
  4. Set the status to Proposed and submit a PR for review.
  5. Once merged, update the status to Accepted and add the entry to the index table above.

Use the filename pattern NNN-short-slug.md (e.g., 005-new-decision.md).

References