From: Ward Vandewege Date: Sun, 20 Feb 2022 22:15:46 +0000 (-0500) Subject: While checking that the controller is up, we don't care about X-Git-Url: https://git.arvados.org/arvados-formula.git/commitdiff_plain/0e514df65ddf408108d9e986f85ea584a8916627?hp=ccc4edfa5e6328e469390a1ee1d00da46b1d61b5;ds=sidebyside While checking that the controller is up, we don't care about certificate validity, the user could be deploying with self-signed certs. refs #18791 Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- diff --git a/arvados/controller/service/running.sls b/arvados/controller/service/running.sls index 7f6af51..edd0476 100644 --- a/arvados/controller/service/running.sls +++ b/arvados/controller/service/running.sls @@ -25,7 +25,7 @@ arvados-controller-service-running-service-running: arvados-controller-service-running-service-ready-cmd-run: cmd.run: - name: | - while ! (curl -s {{ arvados.cluster.Services.Controller.ExternalURL }} | \ + while ! (curl -k -s {{ arvados.cluster.Services.Controller.ExternalURL }} | \ grep -qE "req-[a-z0-9]{20}.{5}error_token") do echo 'waiting for API to be ready...' sleep 1