# 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: name: evo-grant-broker annotations: argocd.argoproj.io/sync-wave: "-1" spec: podSelector: matchLabels: app.kubernetes.io/name: evo-grant-broker 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}