1 changed files with 21 additions and 21 deletions
@ -1,23 +1,23 @@ |
|||
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 |
|||
# 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 |
|||
|
|||
|
|||
|
Loading…
Reference in new issue