K8s Services all expose on port 80 (mapping to container ports internally). URLs should be bare — K8s DNS resolves to port 80 by default.
12 lines
449 B
YAML
12 lines
449 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: trading-dashboard-config
|
|
namespace: customer1
|
|
data:
|
|
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"
|
|
EXECUTE_SERVICE_URL: "http://trading-execute-service.customer1.svc.cluster.local"
|
|
NEWS_SERVICE_URL: "http://trading-news-service.customer1.svc.cluster.local"
|