From 773ef70c32771bf0b900d38f37e2ed8ccc3139b1 Mon Sep 17 00:00:00 2001 From: Bharat Kathi Date: Tue, 6 Oct 2026 01:25:28 -0700 Subject: [PATCH] feat(foundry): route /api/org/* to sentinel core MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sentinel adds an org chart under /org — positions, the composed chart, and the admin CRUD. Without a gateway route those paths fall through to the web upstream, so the SPA answers API calls with index.html and a 200 rather than 404ing. Mirrors the route already added to the compose config in the Sentinel repo; the prod and dev route sets are identical again. kerbecs runs with providers.static.watch enabled, so this applies on the ConfigMap update without restarting the pod. The route is inert until sentinel-core ships the endpoints, so it is safe to land ahead of the version bump. --- .../gr-foundry/manifests/sentinel/configmap-kerbecs.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kubernetes/gr-foundry/manifests/sentinel/configmap-kerbecs.yaml b/kubernetes/gr-foundry/manifests/sentinel/configmap-kerbecs.yaml index 953cdd1..a240847 100644 --- a/kubernetes/gr-foundry/manifests/sentinel/configmap-kerbecs.yaml +++ b/kubernetes/gr-foundry/manifests/sentinel/configmap-kerbecs.yaml @@ -148,6 +148,14 @@ data: strip_prefix: /api envelope: passthrough + - name: core-org + match: + path: /api/org/* + upstream: core + rewrite: + strip_prefix: /api + envelope: passthrough + - name: oauth match: path: /api/oauth/*