homek8s/monitoring/controllers/home
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lancelot 3d21e96a9c ci(runners): isolate the CI capsule in forgejo-runners, enforce baseline on forgejo
The three Actions runners (privileged dind sidecars) and the nightly prune
CronJob (hostPath /var/run/docker.sock) cannot live under PSA baseline, so
they move to their own namespace `forgejo-runners` with `enforce: privileged`
(plus warn/audit restricted). That lets `forgejo` — Forgejo, CNPG Postgres,
cluster-backup — enforce `baseline` instead of only warning.

The dind sidecars stay privileged: measured on these nodes, a non-privileged
pod cannot host a container runtime (cgroup fs is mounted ro; rootless dind
cannot mount procfs; procMount=Unmasked needs hostUsers=false where subuid
maps and /dev/net/tun are refused). See docs/pod-security.md.

- PVCs/PVs are reused, not recreated: the two static Retain PVs on rpi and the
  dynamic local-path PV on siriussec were rebound by name, so runner.ini
  (registration uuid), the dind data-root and the actions cache survive.
- prune CronJob + its SA/Role/RoleBinding/configmap move with the runners;
  NAMESPACE and the Role scope follow.
- monitoring: runner/prune queries and runbooks now select forgejo-runners;
  cnpg_actions_* panels keep namespace="forgejo" (that is the pg namespace).
- docs: pod-security.md rewritten for the two enforced namespaces.

Verified live: all three runners 2/2 Running in forgejo-runners with their
original registration uuids and image counts, forgejo rejects a privileged pod
at admission, and a real CI image build completes (see the card).
2026-11-27 01:15:07 -05:00
..
dashboards ci(runners): isolate the CI capsule in forgejo-runners, enforce baseline on forgejo 2026-11-27 01:15:07 -05:00
garage.yaml infrastructure(garage): commit the config, prove WG-only, split keys, back it up, scrape it 2026-11-19 16:32:58 -05:00
gateway-probe.yaml internal gateway probe: alert when the gateway label is not on exactly one node 2026-10-27 01:08:53 -04:00
grafana-backup.yaml apps(backup): cover the remaining stateful gaps off-host 2026-11-19 17:14:36 -05:00
httproute.yaml grafana: serve it on the bare WireGuard IP (drop HTTPRoute hostnames) 2026-10-27 00:35:53 -04:00
hubble-loss-gate.yaml networking(hubble): deepen the event ring to 16383 flows and gate detection on loss (F10) 2026-11-27 00:16:47 -05: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
kustomizeconfig.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
namespace.yaml secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
prune-alerts.yaml ci(runners): isolate the CI capsule in forgejo-runners, enforce baseline on forgejo 2026-11-27 01:15:07 -05:00
release.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
repository.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
secret-alertmanager-telegram.sops.yaml secrets: add the four monitoring SOPS files their kustomization already lists (F12 part 2, fix) 2026-11-27 00:36:23 -05:00
secret-cluster-backup-ssh.sops.yaml secrets: add the four monitoring SOPS files their kustomization already lists (F12 part 2, fix) 2026-11-27 00:36:23 -05:00
secret-grafana-admin.sops.yaml secrets: add the four monitoring SOPS files their kustomization already lists (F12 part 2, fix) 2026-11-27 00:36:23 -05:00
secret-grafana-secret-key.sops.yaml secrets: add the four monitoring SOPS files their kustomization already lists (F12 part 2, fix) 2026-11-27 00:36:23 -05:00
values.yaml monitoring(alertmanager): enable an alert sink and wire the 33 PrometheusRules (F5) 2026-11-27 00:09:40 -05:00