fix: rename K8s env vars to EXECUTE_ prefix for execute-service
- ConfigMap keys: DB_HOST -> EXECUTE_DB_HOST, DB_PORT -> EXECUTE_DB_PORT, etc. - Deployment secrets: DB_USER -> EXECUTE_DB_USER, DB_PASSWORD -> EXECUTE_DB_PASSWORD - Helm configmap: add EXECUTE_DB_* keys alongside legacy POSTGRES_* keys - Base deployment: add EXECUTE_DB_USER/PASSWORD from secrets
This commit is contained in:
parent
ad37645d7d
commit
a2644b39c7
4 changed files with 25 additions and 10 deletions
|
|
@ -34,6 +34,17 @@ spec:
|
|||
envFrom:
|
||||
- configMapRef:
|
||||
name: trading-platform-config
|
||||
env:
|
||||
- name: EXECUTE_DB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: trading-db-credentials
|
||||
key: username
|
||||
- name: EXECUTE_DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: trading-db-credentials
|
||||
key: password
|
||||
resources:
|
||||
limits:
|
||||
cpu: "500m"
|
||||
|
|
|
|||
Loading…
Reference in a new issue