homek8s/apps/base
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters 69b003705c infra(netpol): default-deny ingress+egress for the six app namespaces
Audit F3 / A5-1. Every pod in customer1, osint, sirius-growth, piedmont,
siriusdevops and forgejo was reachable from every other pod, from the API
server, from the internal WireGuard-only Gateway ports on 10.10.0.2 and from
the internet.

- each namespace: a stock NetworkPolicy 'default-deny' (podSelector {},
  Ingress+Egress, no rules) plus a CiliumNetworkPolicy allow that names the
  gateway/kubelet/health entities, same-namespace pods, cluster DNS and only
  the egress each workload actually uses (world for Telegram/news/inference,
  remote-node :3900 for Garage, :22 for the backup rsync, kube-apiserver :6443
  where CNPG/kubectl needs it, none at all for customer1)
- siriusdevops: replaces the egress-only siriusdevops-site-egress CNP
- customer1: ResourceQuota + LimitRange sized from the declared 1-replica
  shape (35Gi already bound, 2 CPU / 4Gi requests) - the sandbox stays parked
- docs/network-isolation.md: the model plus the five gotchas measured while
  landing it (both-ends enforcement, kube-apiserver identity covering the
  whole node IP, remote-node vs world for Garage, ingress vs host identity)
2026-11-27 02:19:10 -05:00
..
customer1 infra(netpol): default-deny ingress+egress for the six app namespaces 2026-11-27 02:19:10 -05:00
forgejo infra(netpol): default-deny ingress+egress for the six app namespaces 2026-11-27 02:19:10 -05:00
metabase secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
netsec netsec(collector): gzip on rotate so 960 MiB holds ~72-100 h of flows 2026-11-27 01:09:57 -05:00
osint infra(netpol): default-deny ingress+egress for the six app namespaces 2026-11-27 02:19:10 -05:00
piedmont infra(netpol): default-deny ingress+egress for the six app namespaces 2026-11-27 02:19:10 -05:00
secops secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
sirius-growth infra(netpol): default-deny ingress+egress for the six app namespaces 2026-11-27 02:19:10 -05:00
siriusdevops infra(netpol): default-deny ingress+egress for the six app namespaces 2026-11-27 02:19:10 -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