homek8s/apps/base/sirius-growth
Repository files (latest commit first)
Filename Latest commit message Latest commit date
devops 0acc089dc3 feat(backup): run the three nightly backups from a pinned image with an egress allow list
monitoring/grafana-backup, forgejo/cluster-backup and sirius-growth/leadgen-backup
all ran `apk add --no-cache rsync openssh-client` at container start. Every night
that dialled dl-cdn.alpinelinux.org (Fastly anycast 151.101.x.132:443), which is
what `egress-new-dst` kept reporting, and made the backups depend on the public
internet at 03:00 UTC.

- image: forgejo.siriusdevops.com/sirius/backup-tools, built in CI from
  python:3.12-alpine (pinned by digest) + rsync + openssh-client + bash +
  kubectl v1.36.4 (release sha256 verified at build). Pinned by digest in all
  three CronJobs, no apk in any backup path.
- egress: CiliumNetworkPolicy per backup pod — cluster DNS and 10.10.0.5:22 for
  all three, plus kube-apiserver 6443/443 for cluster-backup only, with an
  explicit deny for `world` (Cilium unions namespace policies, so the allow list
  alone would not restrict a pod inside `forgejo`/`sirius-growth`).
- monitoring gains the registry pull secret it never needed before; the job now
  keeps imagePullSecrets: forgejo-pull (SOPS-encrypted in git).

Schedules, retention, destination paths, entrypoints and RBAC are unchanged.
2026-12-04 00:20:34 -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 db(portal): migrate WAL archiving to the CNPG-I Barman Cloud plugin 2026-11-19 17:58:12 -05: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 registry(auth): require auth for image pulls (audit F11) 2026-11-27 00:15:20 -05:00
cronjob-leadgen.yaml registry(auth): require auth for image pulls (audit F11) 2026-11-27 00:15:20 -05:00
deployment-api.yaml contact APIs: pin the images carrying the F13 bounded _hits fix 2026-11-27 00:57:17 -05:00
deployment-blog.yaml registry(auth): require auth for image pulls (audit F11) 2026-11-27 00:15:20 -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 registry(auth): require auth for image pulls (audit F11) 2026-11-27 00:15:20 -05:00
deployment.yaml registry(auth): require auth for image pulls (audit F11) 2026-11-27 00:15:20 -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 feat(backup): run the three nightly backups from a pinned image with an egress allow list 2026-12-04 00:20:34 -05:00
leadgen-backup.yaml feat(backup): run the three nightly backups from a pinned image with an egress allow list 2026-12-04 00:20:34 -05:00
namespace.yaml secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
networkpolicy-backup.yaml feat(backup): run the three nightly backups from a pinned image with an egress allow list 2026-12-04 00:20:34 -05:00
networkpolicy.yaml infra(netpol): default-deny ingress+egress for the six app namespaces 2026-11-27 02:19:10 -05:00
objectstore-portal-wal.yaml db(portal): migrate WAL archiving to the CNPG-I Barman Cloud plugin 2026-11-19 17:58:12 -05: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
scheduled-backup.yaml db(portal): migrate WAL archiving to the CNPG-I Barman Cloud plugin 2026-11-19 17:58:12 -05:00
secret-cluster-backup-ssh.sops.yaml secrets: SOPS the backup SSH key and monitoring's hand-made Secrets (F12, part 2) 2026-11-27 00:30:24 -05:00
secret-forgejo-pull.sops.yaml secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12) 2026-11-27 00:18:14 -05:00
secret-portal-wal-s3.sops.yaml secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12) 2026-11-27 00:18:14 -05:00
secret-sirius-growth-blog-app.sops.yaml secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12) 2026-11-27 00:18:14 -05:00
secret-sirius-growth-blog-s3.sops.yaml secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12) 2026-11-27 00:18:14 -05:00
secret-sirius-growth-contact.sops.yaml secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12) 2026-11-27 00:18:14 -05:00
secret-sirius-growth-portal-app.sops.yaml secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12) 2026-11-27 00:18:14 -05:00
secret-sirius-growth-portal-db.sops.yaml secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12) 2026-11-27 00:18:14 -05:00
secret-sirius-growth-portal-s3.sops.yaml secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12) 2026-11-27 00:18:14 -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