fix(ingress): route /api/bots to official-bots service
Delete PR Branch On Close / delete-branch (pull_request) Successful in 5s
Delete PR Branch On Close / delete-branch (pull_request) Successful in 5s
/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>
This commit is contained in:
@@ -56,6 +56,13 @@ spec:
|
||||
name: nowchess-tournament-active
|
||||
port:
|
||||
number: 8088
|
||||
- path: /api/bots
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: nowchess-official-bots-active
|
||||
port:
|
||||
number: 8088
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
|
||||
@@ -55,6 +55,13 @@ spec:
|
||||
name: nowchess-tournament-active
|
||||
port:
|
||||
number: 8088
|
||||
- path: /api/bots
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: nowchess-official-bots-active
|
||||
port:
|
||||
number: 8088
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
|
||||
@@ -53,6 +53,13 @@ spec:
|
||||
name: nowchess-tournament-active
|
||||
port:
|
||||
number: 8088
|
||||
- path: /api/bots
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: nowchess-official-bots-active
|
||||
port:
|
||||
number: 8088
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
|
||||
Reference in New Issue
Block a user