mirror of https://github.com/samply/bridgehead.git
Add warning if ENABLE_EXPORTER is not set or set to true
This commit is contained in:
parent
591d95e8db
commit
8cb33c2ddc
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
if [ "$ENABLE_DATASHIELD" == true ]; then
|
if [ "$ENABLE_DATASHIELD" == true ]; then
|
||||||
# HACK: This only works because exporter-setup.sh and teiler-setup.sh are sourced after datashield-setup.sh
|
# HACK: This only works because exporter-setup.sh and teiler-setup.sh are sourced after datashield-setup.sh
|
||||||
ENABLE_EXPORTER=true
|
if [ -z "${ENABLE_EXPORTER}" ] || [ "${ENABLE_EXPORTER}" != "true" ]; then
|
||||||
ENABLE_TEILER=true
|
echo "The ENABLE_EXPORTER variable is either not set or not set to 'true'."
|
||||||
|
fi
|
||||||
OAUTH2_CALLBACK=/oauth2/callback
|
OAUTH2_CALLBACK=/oauth2/callback
|
||||||
OAUTH2_PROXY_SECRET="$(echo \"This is a salt string to generate one consistent encryption key for the oauth2_proxy. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 32)"
|
OAUTH2_PROXY_SECRET="$(echo \"This is a salt string to generate one consistent encryption key for the oauth2_proxy. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 32)"
|
||||||
add_private_oidc_redirect_url "${OAUTH2_CALLBACK}"
|
add_private_oidc_redirect_url "${OAUTH2_CALLBACK}"
|
||||||
|
|
Loading…
Reference in New Issue