You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the slack message only for the succeeded jobs not failed one. For failed one I am giving the wrong image name so that I will get notified that - (jobname) failed as @sukeesh gave in message/message.go file. I am attaching the yml file also what I am doing. Please help me in it.
I am getting the slack message only for the succeeded jobs not failed one. For failed one I am giving the wrong image name so that I will get notified that - (jobname) failed as @sukeesh gave in message/message.go file. I am attaching the yml file also what I am doing. Please help me in it.
Thanks.
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: hello
spec:
schedule: "*/1 * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: hello
image: my-image # this image doesn't exist
args:
- /bin/sh
- -c
- date; echo Hello from the k8s cluster
restartPolicy: Never
The text was updated successfully, but these errors were encountered: