Skip to content

Commit

Permalink
feat: set db varaibles
Browse files Browse the repository at this point in the history
  • Loading branch information
Apoorva64 committed Sep 17, 2024
1 parent c9cae9d commit 0ffbcb5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions manifests/dining/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ spec:
value: "menu-backend:3000"
- name: KITCHEN_SERVICE_URL_WITH_PORT
value: "kitchen-backend:3000"
- name: MONGODB_HOST
value: "prod-db-mongodb"
restartPolicy: Always
2 changes: 2 additions & 0 deletions manifests/kitchen/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ spec:
env:
- name: DINING_SERVICE_URL_WITH_PORT
value: "dining-backend:3000"
- name: MONGODB_HOST
value: "prod-db-mongodb"
restartPolicy: Always
4 changes: 3 additions & 1 deletion manifests/menu/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@ spec:
limits:
cpu: "500m"
memory: "512Mi"
env: [ ]
env:
- name: MONGODB_HOST
value: "prod-db-mongodb"
restartPolicy: Always

0 comments on commit 0ffbcb5

Please sign in to comment.