From e6c92966621527220d9d02f56c311e6f8bebe6c9 Mon Sep 17 00:00:00 2001 From: EurusDevSec Date: Wed, 25 Nov 2026 11:41:32 +0700 Subject: [PATCH] fix(p5): select app Pods by tenant label in the RAG Service (DRF-71) Found in window P5-L3-20261125-01: /readyz and /query through the Service timed out under allow-app-same-tenant. The VPC CNI checks egress before the Service IP is translated, and its controller adds a ClusterIP to the egress PolicyEndpoint only when the Service selector holds the peer podSelector labels. The Service selected by name and sandbox only. A diagnostic Service with the tenant label added was reachable and its ClusterIP was allowed. Second in-window fix (deviation from A16, owner approved). Codex review after the window. Co-Authored-By: Claude Opus 5.5 --- gitops/platform/rgd/rag-sandbox.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gitops/platform/rgd/rag-sandbox.yaml b/gitops/platform/rgd/rag-sandbox.yaml index 81075a6..db4d2c1 100644 --- a/gitops/platform/rgd/rag-sandbox.yaml +++ b/gitops/platform/rgd/rag-sandbox.yaml @@ -237,5 +237,11 @@ spec: selector: app.kubernetes.io/name: ragsandbox rag.zero-drift.io/sandbox: ${schema.metadata.name} + # P5 (found in window P5-L3-20261125-01): the VPC CNI checks egress + # before the Service IP is translated, and its controller allows a + # ClusterIP only when the Service selector holds the NetworkPolicy + # peer labels. Without the tenant label, the own app is unreachable + # through its Service under allow-app-same-tenant. + rag.zero-drift.io/tenant: ${schema.metadata.namespace} ports: - {name: http, port: 8080, targetPort: http}