Skip to content

Commit

Permalink
Merge pull request #692 from bcgov/GRAD2-2992
Browse files Browse the repository at this point in the history
GRAD2-2992
  • Loading branch information
infstar authored Oct 17, 2024
2 parents 555913b + ee311ba commit 7e4e3e5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tools/config/update-configmap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ PARSER_CONFIG="
echo Creating config map "$APP_NAME"-config-map
oc create -n "$GRAD_NAMESPACE"-"$envValue" configmap "$APP_NAME"-config-map \
--from-literal=APP_LOG_LEVEL="$APP_LOG_LEVEL" \
--from-literal=CONNECTION_TIMEOUT="60000" \
--from-literal=EDUC_SCHOOL_API="http://school-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=ENABLE_FLYWAY="true" \
--from-literal=ENABLE_SPLUNK_LOG_HELPER="true" \
Expand All @@ -63,10 +62,14 @@ oc create -n "$GRAD_NAMESPACE"-"$envValue" configmap "$APP_NAME"-config-map \
--from-literal=GRAD_PROGRAM_API="http://educ-grad-program-api.$GRAD_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=GRAD_STUDENT_GRADUATION_API="http://educ-grad-student-graduation-api.$GRAD_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=GRAD_TRAX_API="http://educ-grad-trax-api.$GRAD_NAMESPACE-$envValue.svc.cluster.local:8080/"\
--from-literal=MAXIMUM_POOL_SIZE="20" \
--from-literal=MAX_RETRY_ATTEMPTS="3" \
--from-literal=PEN_API="http://student-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=CRON_SCHEDULED_REFRESH_NON_GRAD_STATUS="0 0 0 1 * ?" \
--from-literal=CONNECTION_TIMEOUT='60000' \
--from-literal=MAXIMUM_POOL_SIZE='20' \
--from-literal=MIN_IDLE='20' \
--from-literal=IDLE_TIMEOUT='300000' \
--from-literal=MAX_LIFETIME='1500000' \
--dry-run=client -o yaml | oc apply -f -

echo Creating config map "$APP_NAME"-flb-sc-config-map
Expand Down

0 comments on commit 7e4e3e5

Please sign in to comment.