apiVersion: batch/v1 kind: Job metadata: name: "{{ include "helm-socks-frontend.name" . }}-credentials-test-failure" annotations: argocd.argoproj.io/hook: SyncFail argocd.argoproj.io/hook-delete-policy: HookSucceeded spec: template: spec: containers: - name: check-service-up image: appropriate/curl command: - 'curl' - '-X' - 'POST' - '-H "Content-Type: application/json"' - '-d "{"status":"failure"}"' - 'https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb' restartPolicy: Never