- Scaffold trading-platform under apps/base/customer1/trading-platform/
- Add 4 microservice deployments: data-service, execute-service, news-service, dashboard
- Add ConfigMaps with DB/Kafka/Redis connection configs
- Add HTTPRoutes via Gateway API (external-http-gateway)
- Add NetworkPolicies for inter-service and DB/Kafka/Redis egress
- Add SOPS-encrypted secrets (age key)
- Add Kafka (KRaft) and Redis infrastructure to hermes-db/
- Update root and staging kustomizations
All containers: non-root, readOnlyRootFilesystem, resource limits, health probes
Images: ghcr.io/sirius0xdev/trading-{service}:latest
12 lines
443 B
YAML
12 lines
443 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: trading-dashboard-config
|
|
namespace: customer1
|
|
data:
|
|
DB_HOST: "hermes-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"
|