homek8s/apps/base/sirius-growth
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
..
backup-exec-rbac.yaml apps(backup): nightly Forgejo data + CNPG dumps to the Linode, and prove a restore 2026-11-19 17:01:05 -05:00
cluster.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
configmap-portal-gate.yaml SGS portal: nginx login gate — rate-limit /api/portal/login (12r/m, burst 6) 2026-11-03 18:16:03 +00:00
cronjob-leadgen-ncda.yaml apps(sirius-growth): sgs-leadgen weekly CronJob (ET) + monthly NCDA job + state PVC 2026-11-03 12:46:27 -05:00
cronjob-leadgen.yaml apps(sirius-growth): sgs-leadgen weekly CronJob (ET) + monthly NCDA job + state PVC 2026-11-03 12:46:27 -05:00
deployment-api.yaml apps: re-pin the contact APIs to their new :sha tags 2026-11-02 18:09:48 -05:00
deployment-blog.yaml apps(sirius-growth): pin blog 4378680 (new SG-tree mark, favicon-32, apple-touch-icon) 2026-11-06 16:36:06 -05:00
deployment-portal-gate.yaml SGS portal: nginx login gate — rate-limit /api/portal/login (12r/m, burst 6) 2026-11-03 18:16:03 +00:00
deployment-portal.yaml apps(sirius-growth): pin portal ce350ed + site 4285926 (calendar page, feed kind, application series) 2026-11-05 11:39:32 -05:00
deployment.yaml apps(sirius-growth): pin site 413d98f (new SG-tree logo icons) 2026-11-06 16:19:05 -05:00
httproute.yaml SGS portal: nginx login gate — rate-limit /api/portal/login (12r/m, burst 6) 2026-11-03 18:16:03 +00:00
kustomization.yaml apps(backup): nightly Forgejo data + CNPG dumps to the Linode, and prove a restore 2026-11-19 17:01:05 -05:00
namespace.yaml feat(sirius-growth): deploy the static site on linode 2026-10-18 02:52:08 -04:00
podmonitor.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
pvc-leadgen.yaml apps(sirius-growth): sgs-leadgen weekly CronJob (ET) + monthly NCDA job + state PVC 2026-11-03 12:46:27 -05:00
service-api.yaml feat(sirius-growth): route /api/contact ahead of the page 2026-10-18 16:00:10 -04:00
service-blog.yaml apps(sirius-growth): blog Deployment/Service + pin site d44446c (journal mount) 2026-11-05 13:07:26 -05:00
service-portal-gate.yaml SGS portal: nginx login gate — rate-limit /api/portal/login (12r/m, burst 6) 2026-11-03 18:16:03 +00:00
service-portal.yaml sirius-growth: deploy the portal API on the existing hostname 2026-10-19 03:30:03 -04:00
service.yaml feat(sirius-growth): deploy the static site on linode 2026-10-18 02:52:08 -04:00