homek8s/docs
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
..
arm64-runner-dind.md docs(arm64 runner dind): as-built section — what landed, deviations, evidence, rollback drill 2026-10-27 04:02:00 -04:00
cluster-overview.md docs(pitr): the plugin path is real — transcript, layout, metrics, 1.31 gate closed 2026-11-19 18:09:23 -05:00
grafana-persistence.md docs: Grafana persistence + admin-password ownership and recovery path 2026-10-27 01:07:34 -04:00
hubble-event-loss.md docs: Hubble event-loss root cause, ring-depth change and the detector gate (F10) 2026-11-27 00:25:32 -05:00
internal-wireguard-services.md fix(networking): make the public gateway :8080 WireGuard-only 2026-11-27 00:09:14 -05:00
kube-apiserver-audit-logging.md controlplane: audit — full bodies for secret writes, metadata only for list/watch 2026-11-27 00:28:24 -05:00
logging.md infra(logging): Loki single-binary + Alloy DaemonSet, 192h bounded retention (F4) 2026-11-27 00:36:56 -05:00
monitoring-dashboards.md monitoring: suppress the dead kubelet_volume_stats rules in kubernetes-storage 2026-10-27 02:22:46 -04:00
pod-security.md secops(f6): de-privilege CI job containers + runner uid, add PSA labels 2026-11-27 00:42:26 -05:00
registry-pull-auth.md docs(registry): rotate/add-namespace via the SOPS files, not kubectl 2026-11-27 00:22:56 -05:00
secrets-sops.md secrets: SOPS the backup SSH key and monitoring's hand-made Secrets (F12, part 2) 2026-11-27 00:30:24 -05:00
site-image-pinning.md apps: re-pin the contact APIs to their new :sha tags 2026-11-02 18:09:48 -05:00