From ed2d8a2a47bed0d8108f1089d18525156e17031a Mon Sep 17 00:00:00 2001 From: "Petti, Ken" Date: Fri, 27 Mar 2020 14:16:08 -0400 Subject: [PATCH] updating --- helm-socks-frontend/templates/tests/workflow.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/helm-socks-frontend/templates/tests/workflow.yaml b/helm-socks-frontend/templates/tests/workflow.yaml index 81ecf9d..93fc6db 100644 --- a/helm-socks-frontend/templates/tests/workflow.yaml +++ b/helm-socks-frontend/templates/tests/workflow.yaml @@ -19,10 +19,18 @@ spec: steps: - - name: notify template: send-status-webhook + when: "{{workflow.status}} == Succeeded" arguments: parameters: - name: status - value: "{{workflow.status}}" + value: Succeeded + - name: notify + template: send-status-webhook + when: "{{workflow.status}} != Succeeded" + arguments: + parameters: + - name: status + value: Failed - name: send-status-webhook inputs: