Skip to content

Commit

Permalink
adding debug in update-config map
Browse files Browse the repository at this point in the history
  • Loading branch information
SoLetsDev committed Sep 7, 2023
1 parent f358d63 commit 632001b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/config/update-configmap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ DB_PWD=$6
DB_USER=$7
SPLUNK_TOKEN=$8

echo DEBUG:: PEN_NAMESPACE is $PEN_NAMESPACE

TZVALUE="America/Vancouver"
SOAM_KC_REALM_ID="master"
SOAM_KC=soam-$envValue.apps.silver.devops.gov.bc.ca

SOAM_KC_LOAD_USER_ADMIN=$(oc -n $COMMON_NAMESPACE-$envValue -o json get secret sso-admin-${envValue} | sed -n 's/.*"username": "\(.*\)"/\1/p' | base64 --decode)
SOAM_KC_LOAD_USER_PASS=$(oc -n $COMMON_NAMESPACE-$envValue -o json get secret sso-admin-${envValue} | sed -n 's/.*"password": "\(.*\)",/\1/p' | base64 --decode)

echo DEBUG:: at NATS
NATS_CLUSTER=educ_nats_cluster
NATS_URL="nats://nats.${COMMON_NAMESPACE}-${envValue}.svc.cluster.local:4222"

Expand Down

0 comments on commit 632001b

Please sign in to comment.