Skip to content

Commit

Permalink
Updates for SOAM_KC.
Browse files Browse the repository at this point in the history
  • Loading branch information
weskubo-cgi authored and weskubo-cgi committed Jul 9, 2024
1 parent 99b82ce commit 00fbac6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tools/config/update-configmap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,17 @@ elif [ "$ENV_VAL" = "prod" ]; then
NAMESPACE_SUFFIX="prod"
fi
readonly NAMESPACE_SUFFIX
readonly SOAM_KC="$NAMESPACE_SUFFIX.loginproxy.gov.bc.ca"

SOAM_KC = ""
if [ "$ENV_VAL" != "prod" ]
then
SOAM_KC="$NAMESPACE_SUFFIX.loginproxy.gov.bc.ca"
else
# TODO Update when Prod realm available
# SOAM_KC="loginproxy.gov.bc.ca"
SOAM_KC="test.loginproxy.gov.bc.ca"
fi
readonly SOAM_KC

NODE_ENV="prod"
if [ "$ENV_VAL" != "prod" ]; then
Expand All @@ -39,6 +49,7 @@ if [ "$ENV_VAL" != "prod" ]
then
SITE_MINDER_LOGOUT_URL="https://logontest7.gov.bc.ca/clp-cgi/logoff.cgi?retnow=1&returl="
else
# TODO Update when Prod URL available
# SERVER_FRONTEND="https://ofm.mychildcareservices.gov.bc.ca"
SITE_MINDER_LOGOUT_URL="https://logon7.gov.bc.ca/clp-cgi/logoff.cgi?retnow=1&returl="
fi
Expand Down

0 comments on commit 00fbac6

Please sign in to comment.