Skip to content

Commit

Permalink
added credhub env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernie Billing committed Jan 8, 2021
1 parent bddf264 commit 6009649
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions scripts/push-broker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,26 @@ if [[ ${GSB_BROKERPAK_BUILTIN_PATH} ]]; then
cf set-env "${APP_NAME}" GSB_BROKERPAK_BUILTIN_PATH "${GSB_BROKERPAK_BUILTIN_PATH}"
fi

if [[ ${CH_CRED_HUB_URL} ]]; then
cf set-env "${APP_NAME}" CH_CRED_HUB_URL "${CH_CRED_HUB_URL}"
fi

if [[ ${CH_UAA_URL} ]]; then
cf set-env "${APP_NAME}" CH_UAA_URL "${CH_UAA_URL}"
fi

if [[ ${CH_UAA_CLIENT_NAME} ]]; then
cf set-env "${APP_NAME}" CH_UAA_CLIENT_NAME "${CH_UAA_CLIENT_NAME}"
fi

if [[ ${CH_UAA_CLIENT_SECRET} ]]; then
cf set-env "${APP_NAME}" CH_UAA_CLIENT_SECRET "${CH_UAA_CLIENT_SECRET}"
fi

if [[ ${CH_SKIP_SSL_VALIDATION} ]]; then
cf set-env "${APP_NAME}" "${CH_SKIP_SSL_VALIDATION}"
fi

if [[ ${DB_TLS} ]]; then
cf set-env "${APP_NAME}" DB_TLS "${DB_TLS}"
fi
Expand Down

0 comments on commit 6009649

Please sign in to comment.