Skip to content

Commit

Permalink
WIP fixing the correct update-config-map
Browse files Browse the repository at this point in the history
  • Loading branch information
SoLetsDev committed Sep 18, 2023
1 parent 99f7e31 commit 93bd4db
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/config/update-configmap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ curl -sX POST "https://$SOAM_KC/auth/admin/realms/$SOAM_KC_REALM_ID/client-scope
###########################################################
#Setup for student-admin-flb-sc-config-map
###########################################################
CDOGS_CLIENT_ID=$(oc -n "$PEN_NAMESPACE-$envValue" -o json get configmaps "${APP_NAME}-${envValue}"-setup-config | sed -n "s/.*\"CDOGS_CLIENT_ID\": \"\(.*\)\",/\1/p")
CDOGS_CLIENT_SECRET=$(oc -n "$PEN_NAMESPACE-$envValue" -o json get configmaps "${APP_NAME}-${envValue}"-setup-config | sed -n "s/.*\"CDOGS_CLIENT_SECRET\": \"\(.*\)\",/\1/p")
CDOGS_TOKEN_ENDPOINT=$(oc -n "$PEN_NAMESPACE-$envValue" -o json get configmaps "${APP_NAME}-${envValue}"-setup-config | sed -n "s/.*\"CDOGS_TOKEN_ENDPOINT\": \"\(.*\)\",/\1/p")
CDOGS_BASE_URL=$(oc -n "$PEN_NAMESPACE-$envValue" -o json get configmaps "${APP_NAME}-${envValue}"-setup-config | sed -n "s/.*\"CDOGS_BASE_URL\": \"\(.*\)\",/\1/p")
SPLUNK_TOKEN=$(oc -n "$PEN_NAMESPACE-$envValue" -o json get configmaps "${APP_NAME}-${envValue}-setup-config" | sed -n "s/.*\"SPLUNK_TOKEN_${APP_NAME_UPPER}\": \"\(.*\)\"/\1/p")

SPLUNK_URL="gww.splunk.educ.gov.bc.ca"
FLB_CONFIG="[SERVICE]
Expand Down

0 comments on commit 93bd4db

Please sign in to comment.