Skip to content
Snippets Groups Projects
Verified Commit 193862eb authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

replace `>` with `|` to fix cronjobs

parent 31d1dc8c
No related branches found
No related tags found
1 merge request!45Resolve "Mistake in cronjob"
Pipeline #8588 failed with stages
in 3 minutes and 51 seconds
apiVersion: v1
description: A Helm chart for OpenAppStack's Signle sign-on components
name: single-sign-on
version: 0.2.2
version: 0.2.11
......@@ -50,7 +50,7 @@ spec:
value: "{{- range .grantTypes }}\"{{ . }}\",{{- end }}"
command: ["/bin/bash", "-c"]
args:
- >
- |
curl http://{{ $.Release.Name }}-hydra-admin:4445/health/ready \
--silent \
--write-out "\nCheck Hydra health: HTTP %{http_code}" \
......
......@@ -51,9 +51,8 @@ spec:
value: "{{- range .grantTypes }}\"{{ . }}\",{{- end }}"
command: ["/bin/bash", "-c"]
args:
- >
curl http://{{ $.Release.Name }}-hydra-admin:4445/clients &&
curl --header "Content-Type: application/json" \
- |
curl http://{{ $.Release.Name }}-hydra-admin:4445/clients && curl --header "Content-Type: application/json" \
--request POST \
--data "{\"client_id\": \"$CLIENT_ID\",
\"client_name\": \"$CLIENT_NAME\",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment