homek8s/apps/base/forgejo
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters c1fe485469 apps(backup): cover the remaining stateful gaps off-host
Four pieces of state were still only on the machine they run on. All four now
land on the Linode over the WireGuard mesh, in the same /root/cluster-backup
tree (or /root/pihost-backup for the Pi) with the same manifest/sha256 habit:

* monitoring/kube-prometheus-stack-grafana — new CronJob `monitoring/grafana-backup`.
  The image is -distroless (no shell), so this mounts the PVC read-write and
  takes a consistent copy with the sqlite backup API (PRAGMA integrity_check on
  the copy), then streams it: grafana/grafana-<stamp>.db, keep 14.
* osint/osint-db — plain Postgres Deployment, so neither the CNPG primary lookup
  nor CNPG_TARGETS reaches it. `forgejo/cluster-backup` gains a PG_TARGETS loop
  that pg_dump -Fc's inside the pod using its own POSTGRES_USER/POSTGRES_DB
  (exec-only RBAC in apps/base/osint/), sha256 checked on both sides.
* sirius-growth/sgs-leadgen-data — new CronJob `sirius-growth/leadgen-backup`,
  link-dest snapshot mirror, keep 7.
* Pi /etc/wireguard + wgportal sqlite — infrastructure/wireguard/backup/,
  nightly systemd timer -> [email protected]:/root/pihost-backup, keep 14.

Each tree carries its own retention, so adding artifacts cannot crowd the
Linode. Docs §8/§8.1/§8.2 record coverage, the accepted gaps (Prometheus TSDB,
camera frames, runner scratch) and the restore procedure — including the
TimescaleDB pre/post-restore calls osint needs.
2026-11-19 17:14:36 -05:00
..
cluster-backup.yaml apps(backup): cover the remaining stateful gaps off-host 2026-11-19 17:14:36 -05:00
cluster.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
deployment.yaml cillium gateway config switch to linode node as gateway 2026-09-14 23:47:48 -04:00
httproute.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04: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 Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
pg-actions-queries.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
podmonitor.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
prune-cronjob.yaml monitoring: replace the dead kubelet_volume_stats alerts with runner-scoped disk rules 2026-10-27 02:07:07 -04:00
pvc.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
runner-amd64.yaml ci(forgejo): let the amd64 dind daemon push to the in-cluster registry 2026-11-17 15:14:06 -05:00
runner-arm64.yaml apps(forgejo): clear stale dind pid on start so runner restarts self-heal 2026-11-16 20:41:20 -05:00
runner-configmap.yaml ci(forgejo): give amd64 job containers the docker CLI 2026-11-17 15:14:06 -05:00
runner-deploy-arm64.yaml forgejo runners(arm64): dind registries need --insecure-registry for the Pi's WG address 2026-10-27 02:57:48 -04:00
runner-dind-storage.yaml forgejo runners(arm64): run both arm64 runners as in-cluster dind pods 2026-10-27 02:03:11 -04:00
service.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00