homek8s/apps/base/forgejo
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sirius DevOps 989a0997fb feat(ci-runners): run the deploy runner in a Kata microVM (staged)
The CI capsule cannot enforce PSA baseline: every nested dockerd needs
SYS_ADMIN+NET_ADMIN in the pod spec and baseline forbids exactly those, which
sysbox, gVisor and Kata all reproduce (measured on both arches, card
t_8aa4af50). What a runtime CAN change is what privileged:true means.

Stage 1, one runner: forgejo-runner-deploy-arm64 (rpi) gets
runtimeClassName: kata-qemu, so its privileged dind and job containers run
inside a QEMU/KVM microVM instead of on rpi's host namespaces. The amd64 and
shared arm64 runners stay on privileged dind under runc, untouched.

Kata-specific plumbing in the same Deployment:
- loop-backed ext4 data-root (16GiB image on the existing claim) because
  overlayfs refuses virtiofs and Docker would silently fall back to vfs;
- binfmt_misc + tonistiigi/binfmt --install amd64 on every start, because the
  guest kernel has no qemu handlers and deploy-site.yml cross-builds amd64;
- the runner waits for /var/run/dind-ready (touched after both are set up).

RuntimeClass kata-qemu is cluster-scoped; the containerd handler lives on rpi
only (/etc/containerd/conf.d/50-kata.toml, kata-static 4.4.0). Rollback is one
field. docs/pod-security.md records the measurement and states plainly that the
namespace stays enforce: privileged.
2026-11-27 02:08:47 -05:00
..
ci-runners-namespace.yaml ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -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
kata-runtimeclass.yaml feat(ci-runners): run the deploy runner in a Kata microVM (staged) 2026-11-27 02:08:47 -05:00
kustomization.yaml feat(ci-runners): run the deploy runner in a Kata microVM (staged) 2026-11-27 02:08:47 -05:00
namespace.yaml ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
pg-actions-queries.yaml monitoring(forgejo): make the actions_runners metric duplicate-proof 2026-11-27 01:29:18 -05:00
podmonitor.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
prune-cronjob.yaml ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
pvc.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
runner-amd64.yaml ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
runner-arm64.yaml ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
runner-configmap.yaml ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
runner-deploy-arm64.yaml feat(ci-runners): run the deploy runner in a Kata microVM (staged) 2026-11-27 02:08:47 -05:00
runner-dind-storage.yaml ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -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-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 ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
secret-forgejo-runner-deploy-arm64-token.sops.yaml ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
service.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00