From 8988a390946aa7a7d06f2d7dbb326df2e95bbb62 Mon Sep 17 00:00:00 2001 From: Trevor Richards Date: Tue, 22 Oct 2024 16:24:42 -0700 Subject: [PATCH] fix: D365_API_PREFIX --- .github/workflows/deploy-to-openshift-backend-dev.yml | 3 ++- tools/config/update-configmap.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-openshift-backend-dev.yml b/.github/workflows/deploy-to-openshift-backend-dev.yml index 83dcbfbb0..340eb92c6 100644 --- a/.github/workflows/deploy-to-openshift-backend-dev.yml +++ b/.github/workflows/deploy-to-openshift-backend-dev.yml @@ -180,7 +180,8 @@ jobs: ${{ secrets.SOAM_CLIENT_SECRET }} \ ${{ secrets.SOAM_CLIENT_SECRET_IDIR }} \ ${{ secrets.SPLUNK_TOKEN }} \ - ${{ secrets.REDIS_PASSWORD }} + ${{ secrets.REDIS_PASSWORD }} \ + ${{ secrets.D365_API_PREFIX }} # Start rollout (if necessary) and follow it oc rollout latest dc/${{ env.APP_NAME }}-${{ env.IMAGE_NAME }}-${{ env.APP_ENVIRONMENT }} 2> /dev/null \ diff --git a/tools/config/update-configmap.sh b/tools/config/update-configmap.sh index a7d37d477..a369db02c 100644 --- a/tools/config/update-configmap.sh +++ b/tools/config/update-configmap.sh @@ -10,6 +10,7 @@ readonly SOAM_CLIENT_SECRET=$7 readonly SOAM_CLIENT_SECRET_IDIR=$8 readonly SPLUNK_TOKEN=$9 readonly REDIS_PASSWORD=${10} +readonly D365_API_PREFIX=${11} readonly SOAM_KC_REALM_ID="standard" readonly D365_API_ENDPOINT="http://$D365_API_PREFIX-$ENV_VAL:5091" readonly TIMEZONE="America/Vancouver"