Browse Source

updating

pull/45/head
Petti, Ken 5 years ago
parent
commit
2ad6114414
  1. 42
      helm-socks-frontend/templates/tests/failure.yaml

42
helm-socks-frontend/templates/tests/failure.yaml

@ -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…
Cancel
Save