Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
1.9 KiB
1.9 KiB
platform/gateway
Gateway API (north-south ingress) implemented by Cilium + the shared HTTPS Gateway and the wildcard TLS certificate.
- Governing ADRs: ADR-0002 — Cilium + Gateway API, ADR-0006 — cert-manager/Let's Encrypt
- Spec: docs/09 — DNS & Ingress
- Serves: R-DNS-01, R-TLS-01
- Owner: WS-NET (+ WS-SEC for the cert)
What this stub is
GatewayClasscilium— Gateway API implemented by Cilium; no separate ingress controller (ADR-0002).Gatewayshared— HTTPS listener on*.home.keithjackson.dev, TLS terminated with the wildcard cert. App HTTPRoutes attach cross-namespace via a namespace label + ReferenceGrant (rendered by WS-APPS from each ServiceDefinition'sexposure).Certificatewildcard-home—*.home.keithjackson.devissued by${ACME_CLUSTER_ISSUER}(staging in dev, prod in prod — R-ENV-02). Makes onboarding certificate-free (ADR-0006 default).
Contract (Issuer + Gateway TLS)
The "Issuer + Gateway TLS" interface (roadmap/workstreams.md): this Gateway + wildcard cert are what
every service's HTTPRoute attaches to. ExternalDNS (../externaldns) publishes the
public records for hostnames routed here. Ingress opens north-south only — it does not relax
east-west default-deny (docs/09).
TODO (later phases)
- Phase 2 (WS-NET): pin the L2-announced ingress VIP / IP pool (Cilium L2 announcement, docs/09); add the HTTP→HTTPS redirect route; confirm the cross-namespace ReferenceGrant pattern with WS-APPS.
- Public exposure is a manual edge port-forward of 80/443 to the Gateway VIP (single SOHO router, docs/09) — a documented manual step, the analogue of the old pfSense exception.