Feature: Deploy OpenBao with high availability #79

Merged
claude-bot Bot merged 6 commits from feature/deploy-openbao-ha into main 2026-12-01 04:48:18 +01:00

Adds OpenBao as a new stack, 06-openbao. Related to #65.

What it adds

  • Three OpenBao pods using Raft, with local-path storage.
  • Internal TLS from its own cert-manager CA. Traefik checks OpenBao's certificate, and browsers get a Let's Encrypt certificate at bao.<domain>.
  • A NetworkPolicy that only allows incoming traffic from Traefik and between the OpenBao pods.
  • Audit logs sent to stdout.
  • A workflow that previews PRs and deploys on merge to main.
  • An OpenBao runbook, and OpenBao added to the rebuild runbook.

Unsealing is manual, with one unseal key. Monitoring, automatic snapshots and app access aren't included.

Before merging

  • Check that the CI preview shows 9 to create, with no updates, replacements or deletions.
  • Check that the secret scan passes.
  • Point bao.<domain> to Traefik's IP.

After merging

Merging deploys OpenBao. The pods stay at 0/1 until OpenBao is initialised and unsealed. Follow First setup in docs/runbooks/openbao.md. Don't store real secrets until a snapshot restore has been tested.

Testing

  • Typecheck passes, and the local preview shows 9 to create.
  • The main runbook commands were tested on local OpenBao 2.7.3 servers, without Kubernetes, TLS or the web UI. Those still need checking after the deploy.
Adds OpenBao as a new stack, `06-openbao`. Related to #65. ## What it adds - Three OpenBao pods using Raft, with `local-path` storage. - Internal TLS from its own cert-manager CA. Traefik checks OpenBao's certificate, and browsers get a Let's Encrypt certificate at `bao.<domain>`. - A NetworkPolicy that only allows incoming traffic from Traefik and between the OpenBao pods. - Audit logs sent to stdout. - A workflow that previews PRs and deploys on merge to `main`. - An OpenBao runbook, and OpenBao added to the rebuild runbook. Unsealing is manual, with one unseal key. Monitoring, automatic snapshots and app access aren't included. ## Before merging - Check that the CI preview shows `9 to create`, with no updates, replacements or deletions. - Check that the secret scan passes. - Point `bao.<domain>` to Traefik's IP. ## After merging **Merging deploys OpenBao.** The pods stay at `0/1` until OpenBao is initialised and unsealed. Follow **First setup** in `docs/runbooks/openbao.md`. Don't store real secrets until a snapshot restore has been tested. ## Testing - Typecheck passes, and the local preview shows `9 to create`. - The main runbook commands were tested on local OpenBao 2.7.3 servers, without Kubernetes, TLS or the web UI. Those still need checking after the deploy.
claude-bot Bot added 6 commits 2026-12-01 04:35:39 +01:00
Work in progress for #65. The Traefik ServersTransport and Ingress are still missing, so the stack isn't ready to deploy.
Traefik verifies OpenBao's certificate against the internal CA. Helm doesn't wait for readiness because the pods stay sealed until they are unsealed by hand.
docs: add OpenBao to rebuild runbook
Deploy k8s Infra / Pulumi Preview (pull_request) Successful in 39s
Deploy Monitoring / Pulumi Preview (pull_request) Successful in 39s
Deploy Openbao / Pulumi Preview (pull_request) Successful in 37s
Secret Scan / Betterleaks (pull_request) Successful in 5s
Deploy Proxmox Infra / Pulumi Preview (pull_request) Successful in 50s
Deploy Proxmox Infra / Pulumi Deploy (pull_request) Skipped
Deploy k8s Infra / Pulumi Deploy (pull_request) Skipped
Deploy k8s Apps / Pulumi Preview (pull_request) Successful in 34s
Deploy k8s Apps / Pulumi Deploy (pull_request) Skipped
Deploy Monitoring / Pulumi Deploy (pull_request) Skipped
Deploy Openbao / Pulumi Deploy (pull_request) Skipped
39d3e6cb6f
kasun added 2 commits 2026-12-01 04:35:39 +01:00
docs: add OpenBao to rebuild runbook
Deploy k8s Infra / Pulumi Preview (pull_request) Successful in 39s
Deploy Monitoring / Pulumi Preview (pull_request) Successful in 39s
Deploy Openbao / Pulumi Preview (pull_request) Successful in 37s
Secret Scan / Betterleaks (pull_request) Successful in 5s
Deploy Proxmox Infra / Pulumi Preview (pull_request) Successful in 50s
Deploy Proxmox Infra / Pulumi Deploy (pull_request) Skipped
Deploy k8s Infra / Pulumi Deploy (pull_request) Skipped
Deploy k8s Apps / Pulumi Preview (pull_request) Successful in 34s
Deploy k8s Apps / Pulumi Deploy (pull_request) Skipped
Deploy Monitoring / Pulumi Deploy (pull_request) Skipped
Deploy Openbao / Pulumi Deploy (pull_request) Skipped
39d3e6cb6f
claude-bot Bot merged commit 2091607f0d into main 2026-12-01 04:48:18 +01:00
Sign in to join this conversation.