fix(ingress): route /api/bots to official-bots service (#403)
/api/bots/official/join-tournament returned 404 because no ingress rule matched the prefix; requests fell through to the /api catch-all and hit nowchess-core (8080), which has no such endpoint. Add /api/bots Prefix rule -> nowchess-official-bots-active:8088 in all three environments (staging, eu-central-1-prod, htwg-1-prod). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Reviewed-on: #403
This commit was merged in pull request #403.
This commit is contained in:
@@ -56,6 +56,13 @@ spec:
|
|||||||
name: nowchess-tournament-active
|
name: nowchess-tournament-active
|
||||||
port:
|
port:
|
||||||
number: 8088
|
number: 8088
|
||||||
|
- path: /api/bots
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: nowchess-official-bots-active
|
||||||
|
port:
|
||||||
|
number: 8088
|
||||||
- path: /api
|
- path: /api
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
|
|||||||
@@ -55,6 +55,13 @@ spec:
|
|||||||
name: nowchess-tournament-active
|
name: nowchess-tournament-active
|
||||||
port:
|
port:
|
||||||
number: 8088
|
number: 8088
|
||||||
|
- path: /api/bots
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: nowchess-official-bots-active
|
||||||
|
port:
|
||||||
|
number: 8088
|
||||||
- path: /api
|
- path: /api
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
|
|||||||
@@ -53,6 +53,13 @@ spec:
|
|||||||
name: nowchess-tournament-active
|
name: nowchess-tournament-active
|
||||||
port:
|
port:
|
||||||
number: 8088
|
number: 8088
|
||||||
|
- path: /api/bots
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: nowchess-official-bots-active
|
||||||
|
port:
|
||||||
|
number: 8088
|
||||||
- path: /api
|
- path: /api
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
|
|||||||
Reference in New Issue
Block a user