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