Skip to content

Commit

Permalink
fix secrets fetch for trema mongodb
Browse files Browse the repository at this point in the history
  • Loading branch information
SonOfLope committed Mar 31, 2024
1 parent f2ad906 commit 5a30151
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/trema/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ spec:
- name: mongo
image: mongo:6
imagePullPolicy: Always
command: ['/bin/sh', '-c', 'source /vault/secrets/mongo_pwd && exec mongod --bind_ip_all']
command: ["/bin/sh", "-c"]
args:
- >
. /vault/secrets/mongo_pwd && . && exec mongod --bind_ip_all']
resources: {}
env:
- name: MONGO_USER
Expand Down

0 comments on commit 5a30151

Please sign in to comment.