fix(agent-pod): route /run and /sessions through Kong too

Ingress only covered /console -- agent-console run got a 404 hitting
/run since Kong had no route for it. Same Service, same port, just
more paths on the one Ingress.
This commit is contained in:
Story Crater Bot
2026-08-16 10:29:40 -07:00
parent 12b260f35a
commit bf1682dc9b
+16 -1
View File
@@ -1,4 +1,5 @@
# Exposes agent-hub at api.riotpiao.com/console.
# Exposes agent-hub at api.riotpiao.com/console (WebSocket) and /run
# (trigger a new session) -- both are routes on the same hub.js service.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
@@ -19,3 +20,17 @@ spec:
name: agent-hub
port:
number: 9090
- path: /run
pathType: Prefix
backend:
service:
name: agent-hub
port:
number: 9090
- path: /sessions
pathType: Prefix
backend:
service:
name: agent-hub
port:
number: 9090