2026-09-11 00:08:31 -04:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
|
kind: Kustomization
|
|
|
|
|
resources:
|
|
|
|
|
- namespace.yaml
|
|
|
|
|
- httproute.yaml
|
|
|
|
|
- pvc.yaml
|
|
|
|
|
- cluster.yaml
|
2026-10-27 01:32:20 -04:00
|
|
|
- podmonitor.yaml
|
|
|
|
|
- pg-actions-queries.yaml
|
2026-11-23 22:50:52 -05:00
|
|
|
# Site-root custom assets (robots.txt) mounted into the forgejo pod.
|
|
|
|
|
- custom-public.yaml
|
2026-09-11 00:08:31 -04:00
|
|
|
- deployment.yaml
|
|
|
|
|
- service.yaml
|
2026-09-11 22:24:41 -04:00
|
|
|
- runner-configmap.yaml
|
2026-10-27 02:03:11 -04:00
|
|
|
# Static PVs/PVCs pinned to rpi: dynamic local-path cannot provision there
|
|
|
|
|
# (its helper pod is hardcoded to siriussec). Must sort before the runner
|
|
|
|
|
# Deployments that consume the claims.
|
|
|
|
|
- runner-dind-storage.yaml
|
2026-09-11 22:34:33 -04:00
|
|
|
- runner-arm64.yaml
|
|
|
|
|
- runner-amd64.yaml
|
2026-10-22 23:52:54 -04:00
|
|
|
- runner-deploy-arm64.yaml
|
2026-10-22 23:55:21 -04:00
|
|
|
- prune-cronjob.yaml
|
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
|
|
|
# Nightly disaster-recovery backup of forgejo-data + every CNPG database to
|
|
|
|
|
# the Linode VPS. Lives here because a PVC cannot be mounted cross-namespace.
|
|
|
|
|
- cluster-backup.yaml
|