homek8s/apps/base/forgejo
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters 86b17edc72 secops(f6): de-privilege CI job containers + runner uid, add PSA labels
Audit finding F6 (2026-11-27-cluster-netsec-audit.md).

Runners (all three Deployments):
* runner container no longer runs as uid 0 — image uid 1000. The dind socket is
  now created 0660 root:1000 via `dockerd --group 1000`, which removes the
  one-shot `chmod 666` race that was the reason for running as root; a scoped
  fix-data-perms init container re-owns runner.ini + the actions cache.
* CI *job* containers are no longer privileged (container.privileged: false) —
  previously every job container was privileged inside a privileged dind.

Pod Security:
* enforce baseline on the eight namespaces that have zero baseline violations
  (customer1, metabase, osint, piedmont, secops, sirius-growth, siriusdevops,
  cert-manager), warn+audit restricted everywhere else (repo-declared and
  cluster-owned), so the next privileged/hostPath/hostNetwork pod is visible.
* forgejo itself stays warn/audit: the runner dind sidecar cannot lose
  privileged on these nodes (documented in docs/pod-security.md, with the three
  measured failure modes: procfs needs SYS_ADMIN, /sys/fs/cgroup is read-only
  for non-privileged pods, rootless dind blocked by masked /proc + no tun).
2026-11-27 00:42:26 -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
custom-public.yaml apps(forgejo): serve a declarative robots.txt that keeps non-portfolio paths out of the index 2026-11-23 22:50:52 -05:00
deployment.yaml registry(auth): require auth for image pulls (audit F11) 2026-11-27 00:15:20 -05:00
httproute.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
kustomization.yaml secrets: SOPS the backup SSH key and monitoring's hand-made Secrets (F12, part 2) 2026-11-27 00:30:24 -05:00
namespace.yaml secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05: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 secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
runner-arm64.yaml secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
runner-configmap.yaml secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
runner-deploy-arm64.yaml secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05: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
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-pg-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-forgejo-runner-amd64-token.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-forgejo-runner-deploy-arm64-token.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.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00