fix: manage platform-infra network policy

This commit is contained in:
Codex
2026-06-10 16:12:34 +00:00
parent cdf7909f1c
commit 20dda46e03
5 changed files with 181 additions and 8 deletions
+2
View File
@@ -129,3 +129,5 @@ spec:
```
This policy must be included in the `sub2api plan` / `apply` manifest rendering so that it is created as part of the normal deployment flow, not maintained as a manual one-off.
`platform-infra sub2api status` must report whether `NetworkPolicy/allow-all` exists and still has `podSelector: {}`, `policyTypes: [Ingress, Egress]`, `ingress: [{}]`, and `egress: [{}]`. `platform-infra sub2api validate` must also run temporary in-namespace probe pods that connect to `sub2api-postgres:5432` and `sub2api-redis:6379`; local `pg_isready` inside the PostgreSQL pod alone is insufficient because it does not exercise kube-router cross-pod policy evaluation.