Skip to content

Commit

Permalink
always initialize idp
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Jun 1, 2024
1 parent 02d4180 commit 888f2d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 888f2d9

Please sign in to comment.