From 38dcf237728bf749b803c22547ccb3f48bae9bff Mon Sep 17 00:00:00 2001 From: "Petti, Ken" Date: Fri, 27 Mar 2020 20:15:37 -0400 Subject: [PATCH] updating hook --- .../templates/tests/workflow.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/helm-socks-frontend/templates/tests/workflow.yaml b/helm-socks-frontend/templates/tests/workflow.yaml index b48e529..da880bf 100644 --- a/helm-socks-frontend/templates/tests/workflow.yaml +++ b/helm-socks-frontend/templates/tests/workflow.yaml @@ -12,8 +12,10 @@ spec: - name: check-service-up container: image: appropriate/curl - command: - - curl -X GET helm-socks-frontend-int + command: ["curl"] + args: + - '-X GET' + - 'helm-socks-frontend-int' - name: exit-handler steps: @@ -30,9 +32,9 @@ spec: - name: status container: image: appropriate/curl - command: - - |- - curl -X POST -H "Content-Type: application/json" - -d {{ `{{ inputs.parameters.status }}` }} - https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb - + command: ["curl"] + args: + - '-X POST' + - '-H "Content-Type: application/json"' + - '-d {{ `{{ inputs.parameters.status }}` }}' + - 'https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb'