diff --git a/nowchess/base/nowchess-rollouts.yaml b/nowchess/base/nowchess-rollouts.yaml index 65a4692..b837a85 100755 --- a/nowchess/base/nowchess-rollouts.yaml +++ b/nowchess/base/nowchess-rollouts.yaml @@ -441,6 +441,10 @@ spec: key: INTERNAL_SECRET - name: ACCOUNT_SERVICE_URL value: http://nowchess-account-active:8083 + - name: TOURNAMENT_SERVICE_URL + value: http://nowchess-tournament-active:8086 + - name: TOURNAMENT_SELF_URL + value: "" - name: MP_JWT_VERIFY_PUBLICKEY_LOCATION value: /secrets/jwt/public.pem - name: MP_JWT_VERIFY_ISSUER @@ -887,6 +891,8 @@ spec: secretKeyRef: name: ncs-db-secrets key: ACCOUNT_DB_URL + - name: TOURNAMENT_SELF_URL + value: "" - name: MP_JWT_VERIFY_PUBLICKEY_LOCATION value: /secrets/jwt/public.pem volumeMounts: diff --git a/nowchess/htwg-1-prod/kustomization.yaml b/nowchess/htwg-1-prod/kustomization.yaml index abae92b..94d3fce 100755 --- a/nowchess/htwg-1-prod/kustomization.yaml +++ b/nowchess/htwg-1-prod/kustomization.yaml @@ -41,7 +41,9 @@ patches: containers: - name: nowchess-official-bots env: - - name: TOURNAMENT_SERVER_URL + - name: TOURNAMENT_SERVICE_URL + value: http://nowchess-tournament-active:8086 + - name: TOURNAMENT_SELF_URL value: http://141.37.123.132:8086 - name: TOURNAMENT_BOT_TOKEN valueFrom: @@ -51,6 +53,22 @@ patches: target: kind: Rollout name: nowchess-official-bots +- patch: |- + apiVersion: argoproj.io/v1alpha1 + kind: Rollout + metadata: + name: nowchess-tournament + spec: + template: + spec: + containers: + - name: nowchess-tournament + env: + - name: TOURNAMENT_SELF_URL + value: http://141.37.123.132:8086 + target: + kind: Rollout + name: nowchess-tournament images: - name: ghcr.io/now-chess/now-chess-systems/account newTag: 0.25.0-x86_v2