homek8s/apps/base
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
..
customer1 secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
forgejo secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
metabase secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
netsec secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
osint secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
piedmont secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
secops secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
sirius-growth secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
siriusdevops secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
README.md Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -04:00

apps/base

One directory per app (namespace, workload, service, HTTPRoute). Overlays in apps/home select what this cluster runs.

HTTPRoutes should parentRefs the Gateway:

parentRefs:
  - name: public
    namespace: gateway-system