Don't check cert

parent 77cd86f7
......@@ -14,7 +14,7 @@ lifecycle_healthcheck_loop() {
# Enter a loop until the healtcheck endpoint ($1) returns the code ($2) we expect
#
if [[ "$3" != "skip-check" ]]; then
HEALTH_STATUS=$(curl -Is $1 | head -n 1 | cut -d$' ' -f2)
HEALTH_STATUS=$(curl -kIs $1 | head -n 1 | cut -d$' ' -f2)
until [[ "$HEALTH_STATUS" == "$2" ]]; do
HEALTH_STATUS=$(curl -kIs $1 | head -n 1 | cut -d$' ' -f2)
echo "$1 returned $HEALTH_STATUS. Retying in 5 seconds"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment