fix: wire JWT_SECRET_KEY in live kustomize path
Previous PR #139 added the secret to trading-platform/deploy/k8s/base/ but the live cluster uses apps/base/customer1/trading-platform/ kustomize. - Create execute-service-jwt-secret.yaml (SOPS encrypted) in secrets/ - Add to secrets/ kustomization.yaml resources - Wire JWT_SECRET_KEY env var in execute-service deployment - Points to execute-service-jwt-secret via secretKeyRef
This commit is contained in:
parent
bacb3f4faa
commit
605667df1d
3 changed files with 34 additions and 0 deletions
|
|
@ -58,6 +58,11 @@ spec:
|
|||
secretKeyRef:
|
||||
name: trading-db-credentials
|
||||
key: password
|
||||
- name: JWT_SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: execute-service-jwt-secret
|
||||
key: JWT_SECRET_KEY
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
|
|
|
|||
Loading…
Reference in a new issue