From 888f2d93a7f08f58f95d865bd8ea64b7dc0fe1d9 Mon Sep 17 00:00:00 2001 From: Daisie Huang Date: Fri, 31 May 2024 17:37:14 -0700 Subject: [PATCH] always initialize idp --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5c4fcf7..e3f20d3 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -24,13 +24,15 @@ if [[ -f "/app/initial_setup" ]]; then python3 /app/initialize_vault_store.py if [[ $? -eq 0 ]]; then rm /app/initial_setup - rm /app/bearer.txt echo "setup complete" else echo "!!!!!! INITIALIZATION FAILED, TRY AGAIN !!!!!!" fi fi +# make sure that our idp is still set correctly (maybe keycloak was reinitialized) +python3 get_vault_store_token.py +python3 /app/initialize_idp.py while [ 0 -eq 0 ] do