Skip to content

Commit

Permalink
Merge pull request #63 from ministryofjustice/LCAM-881-secret-manager…
Browse files Browse the repository at this point in the history
…-changes

LCAM-881| updated helm to retreive oauth creds from secret manager
  • Loading branch information
Mhowell494 authored Sep 12, 2023
2 parents ff0dbcc + 0c271ce commit ef2e270
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 ef2e270

Please sign in to comment.