End of enrollment, if secrets/gitea-pat.yaml is decryptable with the just-issued age key (i.e. the operator has already run --finalize-pubkey from another client), upgrade /etc/homelab-context/git-credentials from the read-only bootstrap PAT to the write-scoped one. Best-effort: fails silently if not yet a recipient, with a clear hint about what to do next. Removes the post-bootstrap manual 'homelab refresh-creds' step from the common flow; falls back to the documented one-liner for first-bootstrap clients. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
13 KiB
Executable File
13 KiB
Executable File