Skip to content

Commit

Permalink
fix: fixing lifecycle bad shell interpretation
Browse files Browse the repository at this point in the history
  • Loading branch information
deimosfr committed Oct 17, 2018
1 parent c7f4acd commit 8a3119d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes/templates/configmap-scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ data:
counter=0
echo "[+] Wait up to 60s until traefik is up"
while [ $(curl -s "http://localhost:8081/ping") != 'OK' ] ; do
if [ $counter le 20 ] ; then
while [ "$(curl -s 'http://localhost:8081/ping')" != 'OK' ] ; do
if [ $counter -le 20 ] ; then
sleep 3
counter=$((counter+1))
else
Expand Down

0 comments on commit 8a3119d

Please sign in to comment.