diff --git a/helm-socks-frontend/templates/tests/workflow.yaml b/helm-socks-frontend/templates/tests/workflow.yaml index c3c0471..d6ab713 100644 --- a/helm-socks-frontend/templates/tests/workflow.yaml +++ b/helm-socks-frontend/templates/tests/workflow.yaml @@ -21,15 +21,15 @@ spec: template: send-email - name: celebrate template: celebrate - when: "{{workflow.status}} == Succeeded" + when: "{{ `{{workflow.status}}` }} == Succeeded" - name: cry template: cry - when: "{{workflow.status}} != Succeeded" + when: "{{ `{{workflow.status}}` }} != Succeeded" - name: send-email container: image: alpine:latest command: [sh, -c] - args: ["echo send e-mail: {{workflow.name}} {{workflow.status}}"] + args: ["echo send e-mail: {{ `{{workflow.name}} {{workflow.status}}` }}"] - name: celebrate container: image: alpine:latest