mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
raft snapshot restore is a privileged operation - unsealing alone isn't enough, it needs an authenticated token. Missed this on first pass, caught live: 'Code: 403. Errors: * permission denied'. First run: uses the throwaway init's own fresh root token. Steady state (already restored at least once): uses a copy of home's real root token, which becomes valid on this Vault the moment the first restore completes (its auth data becomes byte-for-byte home's as of that snapshot). Stored the same way as the unseal key - kubectl directly on the VPS, not git. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>