From 1d2d016eda38b665e708252f55ea6023759e57ed Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sat, 23 May 2026 18:34:51 +0000 Subject: [PATCH] fix(data-service): inject REDIS_URL from ConfigMap - Add REDIS_URL env var using variable expansion from the existing trading-data-service-config ConfigMap (REDIS_HOST + REDIS_PORT). - This resolves the 'connecting to localhost:6379' crash on startup. - Matches the actual infrastructure configuration in customer1. --- .../customer1/trading-platform/data-service/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/base/customer1/trading-platform/data-service/deployment.yaml b/apps/base/customer1/trading-platform/data-service/deployment.yaml index f1f88a7..be19da6 100644 --- a/apps/base/customer1/trading-platform/data-service/deployment.yaml +++ b/apps/base/customer1/trading-platform/data-service/deployment.yaml @@ -48,6 +48,8 @@ spec: - configMapRef: name: trading-data-service-config env: + - name: REDIS_URL + value: "redis://$(REDIS_HOST):$(REDIS_PORT)/0" - name: DB_USER valueFrom: secretKeyRef: