feat(news-service): add scraper DB config to K8s configmap

Adds NEWS_DB_HOST, NEWS_DB_PORT, NEWS_DB_NAME, NEWS_DB_USER to news-service ConfigMap for secondary DB connection to news_app_db.
This commit is contained in:
sirius0xdev 2026-05-27 20:27:07 -04:00 committed by GitHub
parent a20debf02e
commit ba7d6de7c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,10 @@ data:
DB_HOST: "siriusdevops-pgdb-rw.customer1.svc.cluster.local" DB_HOST: "siriusdevops-pgdb-rw.customer1.svc.cluster.local"
DB_PORT: "5432" DB_PORT: "5432"
DB_NAME: "trading_data" DB_NAME: "trading_data"
NEWS_DB_HOST: "siriusdevops-pgdb-rw.customer1.svc.cluster.local"
NEWS_DB_PORT: "5432"
NEWS_DB_NAME: "news_app_db"
NEWS_DB_USER: "news_app"
REDIS_HOST: "trading-redis.customer1.svc.cluster.local" REDIS_HOST: "trading-redis.customer1.svc.cluster.local"
REDIS_PORT: "6379" REDIS_PORT: "6379"
NEWS_FETCH_INTERVAL: "300" NEWS_FETCH_INTERVAL: "300"