Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Updated backend deploy to contain Auth env #99

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading