feat(infra): one front door: day-2 ops, every rotation, checks and keys through ./infra #152
Loading…
Reference in a new issue
No description provided.
Delete branch "jfraeys/feat/infra-one-front-door"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Makes
./infrathe one command an operator types on their machine.New in
./infra(each still prints the script it runs):health | backup | user | firewall | vpn | node | service | demo ...are forwarded to./manage(its global options such as--dry-run/--yeswork anywhere on the line). Verified:./infra health --helpreaches manage's help.rotate ovh-s3 | ci-ssh-key | headscale-api-key [hours] | ci-state-key [...]: the credentials outsiderotate-secret.sh's service list, which had no front-door command.check exposure | versions: the read-only production exposure check and the tool-version drift check.keys operator | recovery [project]: SOPS age key creation (Keychain / personal Bitwarden).Why
manageis not merged intoinfra:roles/manage_cliinstalls./manageon the hosts asinfra-managefor on-host emergency use, where git, tea and the vault are not available. So the join is at the front door:infraforwards to it,managestays self-contained. Itssecretcommand now points at./infra rotate(kept forrotate alland existing callers)../setupstays the Terraform + Ansible engine;./infra deployis its gated production path, and staging/DR/bootstrap still call./setupdirectly.Docs:
docs/runbooks/daily-commands.mdlists the new commands and how the three entry points fit; README points day-2 ops at./infra.Tests:
test-infra-cli.sh+13 dispatch cases (all pass); script-existence checks extended. Independent of #151 (the vault-PR helper); either can merge first.🤖 Generated with Claude Code
https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ
f10cac750ddb6748d882