emergency access: platform-neutral card, Kubernetes/Helm recovery steps, chart breakGlass secret (#887 follow-up, v0.6.337) #892

Merged
Cordy merged 3 commits from fix-887b into main 2026-10-13 19:31:05 +00:00
Owner

Follow-up to #887, from Nikola's live check of v0.6.336.

  • Overview card: step 1 is now platform-neutral (cairnd hash-password) with a link to the per-platform guide. Step 2 also names auth.users + auth.admins. The Docker-only command is gone from the card.
  • Guide: local-accounts.md gets a new "Per platform" section.
    • Kubernetes: hash with kubectl exec, or kubectl run from the same image, then store it in a Secret and give it to Cairn through the Helm value, secretKeyRef, or the config Secret. Then kubectl rollout restart, with a GitOps note.
    • Docker / Compose and the plain binary are covered too.
    • The image name is read from the Deployment; no internal registry is named.
  • Helm chart: new breakGlass.existingSecret / usernameKey / passwordHashKey values, which inject CAIRN_ADMIN_USERNAME and CAIRN_ADMIN_PASSWORD_HASH through secretKeyRef. Covered by a render test.
  • CHANGELOG v0.6.337.

Web tests 643/643 and go test ./... pass locally; CI on the real modules is the authoritative run.

Follow-up to #887, from Nikola's live check of v0.6.336. - **Overview card:** step 1 is now platform-neutral (`cairnd hash-password`) with a link to the per-platform guide. Step 2 also names `auth.users` + `auth.admins`. The Docker-only command is gone from the card. - **Guide:** local-accounts.md gets a new "Per platform" section. - Kubernetes: hash with `kubectl exec`, or `kubectl run` from the same image, then store it in a Secret and give it to Cairn through the Helm value, `secretKeyRef`, or the config Secret. Then `kubectl rollout restart`, with a GitOps note. - Docker / Compose and the plain binary are covered too. - The image name is read from the Deployment; no internal registry is named. - **Helm chart:** new `breakGlass.existingSecret` / `usernameKey` / `passwordHashKey` values, which inject `CAIRN_ADMIN_USERNAME` and `CAIRN_ADMIN_PASSWORD_HASH` through `secretKeyRef`. Covered by a render test. - CHANGELOG v0.6.337. Web tests 643/643 and `go test ./...` pass locally; CI on the real modules is the authoritative run.
Cordy merged commit 423631deb3 into main 2026-10-13 19:31:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#892
No description provided.