ADR-0131: grant broker reachable only through HTTPS 443
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 3m47s
Foundation / image (push) Successful in 5s
Foundation / postgres-tools (push) Successful in 5s
Foundation / server-image (push) Successful in 5s

The broker NetworkPolicy no longer admits the node subnet. Port 8080 is the
in-cluster backend for ingress-nginx pods only; players use
https://grants.aeternalisgames.com on 443.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-15 12:19:46 -04:00
co-authored by Claude Opus 5.5
parent 68880ba3b4
commit 40426777a0
4 changed files with 13 additions and 10 deletions
@@ -1,6 +1,9 @@
# Broker traffic on top of the namespace default-deny: HTTP 8080 from the ingress
# controller only (RKE2's bundled ingress-nginx in kube-system; it may run on the host
# network, so the node subnet is admitted too), and PostgreSQL on pg-forge-01 only.
# Broker traffic on top of the namespace default-deny. Players reach the broker only at
# https://grants.aeternalisgames.com on 443, where ingress-nginx terminates TLS. The pod's
# HTTP port 8080 is admitted from the ingress-nginx pods inside the cluster and from
# nothing on the LAN. No address block is admitted: if the controller runs on the host
# network, this selector does not match it and the route fails closed (502) until the
# exact node addresses are added. Egress goes to PostgreSQL on pg-forge-01 only.
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
@@ -20,8 +23,6 @@ spec:
podSelector:
matchLabels:
app.kubernetes.io/name: rke2-ingress-nginx
- ipBlock:
cidr: 172.10.1.0/24
ports:
- {protocol: TCP, port: 8080}
egress: