argo-cd/controller/testdata/job-failed-ignore-healthcheck.yaml
ABBOUD Moncef 4a140515fe
feat(app): add ignore-healthcheck annotation (#20462)
Signed-off-by: cef <moncef.abboud95@gmail.com>
2024-11-21 07:16:53 -05:00

36 lines
838 B
YAML

apiVersion: batch/v1
kind: Job
metadata:
annotations:
argocd.argoproj.io/ignore-healthcheck: "true"
labels:
job-name: fail
name: fail
namespace: argoci-workflows
selfLink: /apis/batch/v1/namespaces/argoci-workflows/jobs/fail
spec:
backoffLimit: 0
completions: 1
parallelism: 1
template:
metadata:
creationTimestamp: null
labels:
job-name: fail
spec:
containers:
- command:
- sh
- -c
- exit 1
image: alpine:latest
imagePullPolicy: Always
name: fail
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30