feat: migrate all trading-platform services from hermes-pgdb to siriusdevops-pgdb

- Add 'trading' managed role to siriusdevops-pgdb cluster
- Move trading-db-credentials from hermes-db to siriusdevops-db
- Create trading-data-db.yaml (Database kind) pointing to siriusdevops-pgdb
- Update DB_HOST in all 4 trading-platform configmaps to siriusdevops-pgdb-rw
- Remove trading-data-db.yaml and trading-db-credentials.yaml from hermes-db
- Update siriusdevops-db kustomization.yaml to include new resources
This commit is contained in:
Hermes Agent 2026-05-25 07:55:15 +00:00
commit 3f96800222
9 changed files with 15 additions and 10 deletions

View file

@ -4,7 +4,7 @@ metadata:
name: trading-dashboard-config
namespace: customer1
data:
DB_HOST: "hermes-pgdb-rw.customer1.svc.cluster.local"
DB_HOST: "siriusdevops-pgdb-rw.customer1.svc.cluster.local"
DB_PORT: "5432"
DB_NAME: "trading_data"
DATA_SERVICE_URL: "http://trading-data-service.customer1.svc.cluster.local"

View file

@ -4,7 +4,7 @@ metadata:
name: trading-data-service-config
namespace: customer1
data:
DB_HOST: "hermes-pgdb-rw.customer1.svc.cluster.local"
DB_HOST: "siriusdevops-pgdb-rw.customer1.svc.cluster.local"
DB_PORT: "5432"
DB_NAME: "trading_data"
REDIS_HOST: "trading-redis.customer1.svc.cluster.local"

View file

@ -4,7 +4,7 @@ metadata:
name: trading-execute-service-config
namespace: customer1
data:
EXECUTE_DB_HOST: "hermes-pgdb-rw.customer1.svc.cluster.local"
EXECUTE_DB_HOST: "siriusdevops-pgdb-rw.customer1.svc.cluster.local"
EXECUTE_DB_PORT: "5432"
EXECUTE_DB_NAME: "trading_data"
EXECUTE_REDIS_HOST: "trading-redis.customer1.svc.cluster.local"

View file

@ -4,7 +4,7 @@ metadata:
name: trading-news-service-config
namespace: customer1
data:
DB_HOST: "hermes-pgdb-rw.customer1.svc.cluster.local"
DB_HOST: "siriusdevops-pgdb-rw.customer1.svc.cluster.local"
DB_PORT: "5432"
DB_NAME: "trading_data"
REDIS_HOST: "trading-redis.customer1.svc.cluster.local"