Mistake in cronjob
Current OAS master CI pipeline shows the recreate-oauth2-clients job like this:
$ kubectl describe cronjob -n oas single-sign-on-recreate-oauth2-clients
...
grafana:
Image: open.greenhost.net:4567/openappstack/user-panel/backend:master
Port: <none>
Host Port: <none>
Command:
/bin/bash
-c
Args:
curl http://single-sign-on-hydra-admin:4445/health/ready \
--silent \
--write-out "\nCheck Hydra health: HTTP %{http_code}" \
...
The empty line causes trouble for the script.