Skip to content

Commit

Permalink
feat: Updated backend deploy to contain Auth env (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
dallascrichmond authored Dec 11, 2024
1 parent d7fa3d8 commit 6d7f995
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
parameters:
-p IMAGE_TAG=${{ inputs.tag }}
-p TARGET=${{ inputs.target }}
-p SSOAUTH=${{ vars.SSO_AUTH_SERVER_URL }}
verification_path: /api/health
verification_retry_attempts: "5"
verification_retry_seconds: "15"
Expand Down
5 changes: 5 additions & 0 deletions backend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ parameters:
description: Password for the PostgreSQL connection user.
from: '[a-zA-Z0-9]{16}'
generate: expression
- name: SSOAUTH
description: SSO Auth Server URL
required: true
objects:
- kind: Service
apiVersion: v1
Expand Down Expand Up @@ -65,6 +68,8 @@ objects:
value: info
- name: POSTGRES_HOST
value: nr-nmp-database-${TARGET}
- name: SSO_AUTH_SERVER_URL
value: ${SSOAUTH}
- name: POSTGRES_DB
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit 6d7f995

Please sign in to comment.