1 changed files with 21 additions and 21 deletions
@ -1,23 +1,23 @@ |
|||||
apiVersion: batch/v1 |
# apiVersion: batch/v1 |
||||
kind: Job |
# kind: Job |
||||
metadata: |
# metadata: |
||||
name: "{{ include "helm-socks-frontend.name" . }}-credentials-test-failure" |
# name: "{{ include "helm-socks-frontend.name" . }}-credentials-test-failure" |
||||
annotations: |
# annotations: |
||||
argocd.argoproj.io/hook: SyncFail |
# argocd.argoproj.io/hook: SyncFail |
||||
argocd.argoproj.io/hook-delete-policy: HookSucceeded |
# argocd.argoproj.io/hook-delete-policy: HookSucceeded |
||||
spec: |
# spec: |
||||
template: |
# template: |
||||
spec: |
# spec: |
||||
containers: |
# containers: |
||||
- name: check-service-up |
# - name: check-service-up |
||||
image: appropriate/curl |
# image: appropriate/curl |
||||
command: |
# command: |
||||
- 'curl' |
# - 'curl' |
||||
- '-X' |
# - '-X' |
||||
- 'POST' |
# - 'POST' |
||||
- '-H "Content-Type: application/json"' |
# - '-H "Content-Type: application/json"' |
||||
- '-d "{"status":"failure"}"' |
# - '-d "{"status":"failure"}"' |
||||
- 'https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb' |
# - 'https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb' |
||||
restartPolicy: Never |
# restartPolicy: Never |
||||
|
|
||||
|
|
||||
|
Loading…
Reference in new issue