- 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
13 lines
376 B
YAML
13 lines
376 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: trading-data-service-config
|
|
namespace: customer1
|
|
data:
|
|
DB_HOST: "siriusdevops-pgdb-rw.customer1.svc.cluster.local"
|
|
DB_PORT: "5432"
|
|
DB_NAME: "trading_data"
|
|
REDIS_HOST: "trading-redis.customer1.svc.cluster.local"
|
|
REDIS_PORT: "6379"
|
|
KAFKA_BROKER: "trading-kafka.customer1.svc.cluster.local:9092"
|
|
LOG_LEVEL: "info"
|