Skip to content

Commit

Permalink
fix: fixed incorrect secrets in dops (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Nov 23, 2023
1 parent 63c5209 commit 0123d86
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions charts/onroutebc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ vehicles:
repository: '{{ .Values.global.repository }}' # example, it includes registry and repository
image: backend/vehicles
tag: "{{tpl .Values.global.tag .}}"
env:
fromLocalConfigmap:
- name: DOPS_URL
key: DOPS_URL
- name: FRONTEND_URL
key: FRONTEND_URL
- name: VEHICLES_URL
key: VEHICLES_URL
- name: PAYBC_REDIRECT
key: PAYBC_REDIRECT
ports:
- name: vehicles-api
containerPort: 5000
Expand Down Expand Up @@ -191,11 +201,15 @@ dops:
command:
- "sh"
- "-c"
- "source /vault/secrets/auth0-{{.Values.global.zone}} && source /vault/secrets/ches-{{.Values.global.zone}} && source /vault/secrets/mssql-{{.Values.global.zone}} && source /vault/secrets/payment-{{.Values.global.zone}} && npm run start:prod"
- "source /vault/secrets/auth0-{{.Values.global.zone}} && source /vault/secrets/mssql-{{.Values.global.zone}} && source /vault/secrets/cdogs-{{.Values.global.zone}} && source /vault/secrets/dops-{{.Values.global.zone}} && npm run start:prod"
registry: '{{ .Values.global.registry }}'
repository: '{{ .Values.global.repository }}' # example, it includes registry and repository
image: backend/dops
tag: "{{tpl .Values.global.tag .}}"
env:
fromLocalConfigmap:
- name: ACCESS_API_URL
key: ACCESS_API_URL
ports:
- name: dops-api
containerPort: 5001
Expand Down Expand Up @@ -259,6 +273,6 @@ dops:
license: "{{.Values.global.license}}"
secretPaths:
- auth0-{{.Values.global.zone}}
- ches-{{.Values.global.zone}}
- mssql-{{.Values.global.zone}}
- payment-{{.Values.global.zone}}
- cdogs-{{.Values.global.zone}}
- dops-{{.Values.global.zone}}

0 comments on commit 0123d86

Please sign in to comment.