Files
aevolution/deploy/kubernetes/region/dev-session-route/service.yaml
T
dingoandClaude Opus 5.5 8a1e5ef53d Check rendered kustomize output in the deploy policy (M9.8f review)
The policy check now renders every overlay with pinned, checksum-verified
kustomize v5.8.1 (ADR-0088) and validates effective namespaces, session/input/
listener environment and arguments, ports, Services, quotas, policies, Ingresses
and Secrets, so inline/JSON patches and namespace changes cannot bypass it.
Route enabling is gated on an ADR-0087 amendment with tested server windows, route
addresses must be RFC 1918 or explicitly approved, and the Local health-check node
port is documented with its enabling evidence. Self-test grows to 33 cases.

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

30 lines
1.4 KiB
YAML

# The one LoadBalancer Service AEvolution may own (ADR-0087), evolution-dev only.
# - metallb.io/loadBalancerIPs pins the dedicated internal VIP that the internal DNS
# name void.aeternalisgames.com resolves to (never the control-plane address).
# - externalTrafficPolicy Local keeps client source addresses, so the NetworkPolicy's
# ipBlock (same CIDRs) is enforceable; new connections reach only a ready pod.
# - allocateLoadBalancerNodePorts false: no node port for the session data. Local
# still makes Kubernetes allocate spec.healthCheckNodePort, an HTTP endpoint kube-proxy
# serves on every node; it carries no session traffic and must stay closed at the edge
# firewall. Its allocation and quota accounting are verified before enabling (ADR-0087).
# - loadBalancerSourceRanges duplicates the CIDR at the Service; the edge firewall is
# the third layer. TLS 1.3, the dev CA and single-use grants remain mandatory.
apiVersion: v1
kind: Service
metadata:
name: evo-region-session
annotations:
metallb.io/loadBalancerIPs: REPLACE-dev-session-vip
labels:
app.kubernetes.io/name: evo-region
spec:
type: LoadBalancer
allocateLoadBalancerNodePorts: false
externalTrafficPolicy: Local
loadBalancerSourceRanges:
- REPLACE-dev-test-client-cidr
selector:
app.kubernetes.io/name: evo-region
ports:
- {name: session, port: 7400, targetPort: session, protocol: TCP}