Files
aevolution/deploy/kubernetes/region/dev-session-route/networkpolicy.yaml
T
dingoandClaude Opus 5.5 9f622cf6b3 Add M9.8f dev session route design, disabled with fail-closed policy
ADR-0087 records the maintainer's route (void.aeternalisgames.com:7400 via a
dedicated internal MetalLB VIP to the evolution-dev region pod, TLS end to end,
CIDR-limited) and operator-opened windows enforced by evo-server. The route is a
kustomize component included nowhere; the policy check encodes its shape and
refuses enabling until VIP/CIDR, the dev quota and --session-window exist, with a
20-case self-test in the CI deploy stage. The base listener stays loopback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 17:34:12 -04:00

19 lines
572 B
YAML

# Session ingress to the region pod: TCP 7400 from the permitted development/test
# client CIDR(s) only, which must equal the Service's loadBalancerSourceRanges.
# Everything else stays denied by the platform default-deny policy.
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: evo-region-session-ingress
spec:
podSelector:
matchLabels:
app.kubernetes.io/name: evo-region
policyTypes: [Ingress]
ingress:
- from:
- ipBlock:
cidr: REPLACE-dev-test-client-cidr
ports:
- {protocol: TCP, port: 7400}