homek8s/apps/base
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters b698f23d4f apps(backup): nightly Forgejo data + CNPG dumps to the Linode, and prove a restore
Nothing on this platform backed up Forgejo or the CloudNativePG databases;
docs/cluster-overview.md had claimed both must be backed up for months.

New CronJob forgejo/cluster-backup (37 2 * * * UTC, Forbid) streams to
[email protected]:/root/cluster-backup over the WireGuard mesh:

  * forgejo-data PVC mirrored with rsync --link-dest (snapshot per night,
    hardlinked, readonly PVC mount, transient upload spools excluded, rsync
    exit 24 tolerated because Forgejo is live while it runs);
  * pg_dump -Fc from inside each CNPG primary (local socket, no DB password
    in git) for forgejo/pg and sirius-growth/portal, sha256-verified on both
    sides before the .part file is renamed.

Nothing is staged on siriussec (83% full, DiskPressure hazard); the job has
an ephemeral-storage cap of 1Gi to make that structural. Job lives in ns
forgejo because a PVC cannot be mounted cross-namespace; the portal dump uses
exec-only RBAC declared in apps/base/sirius-growth/backup-exec-rbac.yaml.

Only secret is forgejo/cluster-backup-ssh (out of band, not in git):
from=-restricted ed25519 key on the Linode, host key pinned.

docs/cluster-overview.md: §8.1 coverage + honest gaps, §8.2 restore runbook,
live PVC/disk numbers corrected.
2026-11-19 17:01:05 -05:00
..
forgejo apps(backup): nightly Forgejo data + CNPG dumps to the Linode, and prove a restore 2026-11-19 17:01:05 -05:00
osint docs(osint): syndication dedupe knobs and the d04ddc9afacb pin 2026-11-13 22:20:58 -05:00
piedmont apps: re-pin the contact APIs to their new :sha tags 2026-11-02 18:09:48 -05:00
sirius-growth apps(backup): nightly Forgejo data + CNPG dumps to the Linode, and prove a restore 2026-11-19 17:01:05 -05:00
siriusdevops infrastructure(garage): commit the config, prove WG-only, split keys, back it up, scrape it 2026-11-19 16:32:58 -05:00
README.md Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -04:00

apps/base

One directory per app (namespace, workload, service, HTTPRoute). Overlays in apps/home select what this cluster runs.

HTTPRoutes should parentRefs the Gateway:

parentRefs:
  - name: public
    namespace: gateway-system