From dbf9a551a7661551d2b3a622b35ada0e508abaa7 Mon Sep 17 00:00:00 2001 From: Janis Date: Wed, 17 Jun 2026 08:58:49 +0200 Subject: [PATCH] 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 Reviewed-on: https://git.janis-eccarius.de/NowChess/GitOps/pulls/403 --- nowchess/eu-central-1-prod/ingress.yaml | 7 +++++++ nowchess/eu-central-1-staging/ingress.yaml | 7 +++++++ nowchess/htwg-1-prod/ingress.yaml | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/nowchess/eu-central-1-prod/ingress.yaml b/nowchess/eu-central-1-prod/ingress.yaml index c368560..c025db0 100755 --- a/nowchess/eu-central-1-prod/ingress.yaml +++ b/nowchess/eu-central-1-prod/ingress.yaml @@ -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: diff --git a/nowchess/eu-central-1-staging/ingress.yaml b/nowchess/eu-central-1-staging/ingress.yaml index e4cd532..72c8fe2 100755 --- a/nowchess/eu-central-1-staging/ingress.yaml +++ b/nowchess/eu-central-1-staging/ingress.yaml @@ -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: diff --git a/nowchess/htwg-1-prod/ingress.yaml b/nowchess/htwg-1-prod/ingress.yaml index 13e77f9..383e937 100755 --- a/nowchess/htwg-1-prod/ingress.yaml +++ b/nowchess/htwg-1-prod/ingress.yaml @@ -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: