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).
Nothing in the cluster was reconciled from the repo: 67 hand-made Secrets and no
managed Secret at all, so a restore of this Git tree produced a cluster that would
not start. This commits the first-party ones as SOPS/age ciphertext and enables
Flux's sops decryptor.
* provider: SOPS + age (chosen over SealedSecrets: Flux already ships the sops
decryptor, so no extra controller/CRD, and the age key is escrowed off-cluster).
* 29 Secrets across forgejo, siriusdevops, piedmont, sirius-growth, osint,
metabase and customer1, as apps/base/<ns>/secret-<name>.sops.yaml with
encrypted_regex ^(data|stringData)$ — names/namespaces stay reviewable.
* each file was generated from the LIVE object and decrypts to a byte-identical
data map and type, so the first apply is a no-op (not a rotation).
* the CNPG bootstrap secrets (forgejo-pg-app, pg-app, sirius-growth-portal-db)
are ours, not operator output — bootstrap.initdb.secret points at them, so a
rebuild has no application password without them.
* forgejo-pull is included despite docs/registry-pull-auth.md calling it
out-of-band: with imagePullSecrets on every workload it is the one Secret whose
absence stops the whole cluster from pulling images.
* .gitignore keeps **/*secret*.yaml ignored and re-includes only .sops.yaml, so a
plaintext Secret still cannot be committed; age.agekey stays ignored.
* excluded on purpose (controller/helm-owned): CNPG *-server/*-replication/*-ca,
cnpg-system CA+webhook, cert-manager webhook CA, cilium/hubble certs, helm
release records, prometheus-operator rendered prompts. Full table in
docs/secrets-sops.md.
Key locations (never in git): Secret flux-system/sops-age (age.agekey) and
/root/sops/homek8s-age.key on the Linode, reached only over the mesh.
Rename the client-shaped lab replica namespace and its manifests to keep the
client name out of the repo going forward (git history is intentionally not
rewritten).
- apps/base/farrisilk -> apps/base/customer1 (namespace, workloads, PVCs,
HTTPRoutes, backup CronJob, README)
- infrastructure/networking/internal/gateway-farrisilk-{odoo,metabase}.yaml ->
gateway-customer1-{odoo,metabase}.yaml (listener ports unchanged: 8086/8087)
- firewall comment headers updated (rules/ports untouched)
No functional change beyond object names; workloads remain parked at 0.