Skip to content

Commit

Permalink
fix deploy che multiuser
Browse files Browse the repository at this point in the history
make KC configuration before CHE pod start
  • Loading branch information
Roman Iuvshyn committed Mar 22, 2018
1 parent 31433f2 commit 67e95e9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions deploy/openshift/deploy_che.sh
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ oc apply -f -
if [[ "${CHE_MULTIUSER}" == "true" ]] && [[ "${COMMAND}" == "deploy" ]]; then
if [ "${CHE_DEDICATED_KEYCLOAK}" == "true" ]; then
"${BASE_DIR}"/multi-user/deploy_postgres_and_keycloak.sh
"${BASE_DIR}"/multi-user/configure_keycloak.sh
else
"${BASE_DIR}"/multi-user/deploy_postgres_only.sh
fi
Expand Down Expand Up @@ -537,10 +538,6 @@ if [ "${WAIT_FOR_CHE}" == "true" ]; then
wait_until_che_is_available
fi

if [ "${CHE_DEDICATED_KEYCLOAK}" == "true" ]; then
"${BASE_DIR}"/multi-user/configure_keycloak.sh
fi

che_route=$(oc get route che -o jsonpath='{.spec.host}')
echo
echo "[CHE] Che deployment has been successufully bootstrapped"
Expand Down

0 comments on commit 67e95e9

Please sign in to comment.