# Admin portal traffic on top of the namespace default-deny. Admins reach it only at # https://srs.aeternalisgames.com on 443, where ingress-nginx terminates TLS; port 8080 is # admitted from the ingress-nginx pods and nothing else. Egress: PostgreSQL on pg-forge-01, # the region's operations port (9100) for /admin/view, and for opening a region (ADR-0182 # section 15, approved 2026-10-28) Gitea through the node's ingress (git.aeternalisgames.com, # 172.10.1.160:443) and the argocd-server pods (8080, behind the Service's 443). apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: evo-admin-portal annotations: argocd.argoproj.io/sync-wave: "-1" spec: podSelector: matchLabels: app.kubernetes.io/name: evo-admin-portal policyTypes: [Ingress, Egress] ingress: - from: - namespaceSelector: matchLabels: kubernetes.io/metadata.name: kube-system podSelector: matchLabels: app.kubernetes.io/name: rke2-ingress-nginx ports: - {protocol: TCP, port: 8080} egress: - to: - ipBlock: cidr: 172.10.1.127/32 ports: - {protocol: TCP, port: 5432} - to: - podSelector: matchLabels: app.kubernetes.io/name: evo-region ports: - {protocol: TCP, port: 9100} - to: - ipBlock: cidr: 172.10.1.160/32 ports: - {protocol: TCP, port: 443} - to: - namespaceSelector: matchLabels: kubernetes.io/metadata.name: argocd podSelector: matchLabels: app.kubernetes.io/name: argocd-server ports: - {protocol: TCP, port: 8080} --- # The region's operations port also admits the admin portal (alongside Prometheus, # evo-region-scrape). Only 9100: never the session port. apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: evo-region-admin-view annotations: argocd.argoproj.io/sync-wave: "-1" spec: podSelector: matchLabels: app.kubernetes.io/name: evo-region policyTypes: [Ingress] ingress: - from: - podSelector: matchLabels: app.kubernetes.io/name: evo-admin-portal ports: - {protocol: TCP, port: 9100}