Skip to content

Commit

Permalink
LCAM-881| updated helm to retreive oauth creds from secret manager
Browse files Browse the repository at this point in the history
  • Loading branch information
AafAnsari committed Sep 12, 2023
1 parent ff0dbcc commit 0c271ce
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions helm_deploy/laa-crime-evidence/templates/_environment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ env:
- name: MAAT_API_OAUTH_URL
value: {{ .Values.maatApi.oauthUrl }}
- name: MAAT_API_OAUTH_CLIENT_ID
value: {{ .Values.maatApi.clientId }}
valueFrom:
secretKeyRef:
name: maat-api-oauth-client-id
key: MAAT_API_OAUTH_CLIENT_ID
- name: MAAT_API_OAUTH_CLIENT_SECRET
value: {{ .Values.maatApi.clientSecret }}
valueFrom:
secretKeyRef:
name: maat-api-oauth-client-secret
key: MAAT_API_OAUTH_CLIENT_SECRET
- name: JWT_ISSUER_URI
value: {{ .Values.jwt.issuerUri }}
- name: DATASOURCE_HOST_PORT
Expand Down
Binary file modified helm_deploy/laa-crime-evidence/values-dev.yaml
Binary file not shown.
Binary file modified helm_deploy/laa-crime-evidence/values-prod.yaml
Binary file not shown.
Binary file modified helm_deploy/laa-crime-evidence/values-staging.yaml
Binary file not shown.
Binary file modified helm_deploy/laa-crime-evidence/values-test.yaml
Binary file not shown.
Binary file modified helm_deploy/laa-crime-evidence/values-uat.yaml
Binary file not shown.

0 comments on commit 0c271ce

Please sign in to comment.