homek8s/apps/base
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters 668011809f fix(netpol): allow cnpg-system operator to read instance status on :8000
The CNPG operator dials each instance's HTTPS status endpoint
(https://<podIP>:8000/pg/status) to derive the system ID and drive
switchover. The tenant isolation added in t_fed52919 opened only
gateway/node/health entities, same-namespace pods and monitoring:9187,
so cnpg-system was denied: forgejo/pg and sirius-growth/portal sat at
Ready=False / ConsistentSystemID=False ('Instance Status Extraction
Error: HTTP communication issue') while their pods served traffic and
automated failover was effectively disabled.

Add one ingress rule to each CNP, scoped to the operator pod label
(app.kubernetes.io/name=cloudnative-pg in cnpg-system) and to TCP 8000
only. Not world, not the whole cluster, not 5432.
2026-12-04 14:25:37 -05:00
..
customer1 infra(netpol): default-deny ingress+egress for the six app namespaces 2026-11-27 02:19:10 -05:00
forgejo fix(netpol): allow cnpg-system operator to read instance status on :8000 2026-12-04 14:25:37 -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 fix(netpol): allow cnpg-system operator to read instance status on :8000 2026-12-04 14:25:37 -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