Skip to content

Commit

Permalink
Using the alarm webhook, instead of the regular one
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanHilt committed Jul 12, 2024
1 parent 27189ec commit 514a984
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
valueFrom:
configMapKeyRef:
name: global
key: slack_webhook
key: slack_alarm_webhook

command: ["/bin/bash"]
args:
Expand Down
4 changes: 2 additions & 2 deletions kube/services/node-monitors/argo-monitors/argo-node-age.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
valueFrom:
configMapKeyRef:
name: global
key: slack_webhook
key: slack_alarm_webhook

command: ["/bin/bash"]
args:
Expand Down Expand Up @@ -55,4 +55,4 @@ spec:
curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"WARNING: Node \`${NODE_NAME}\` is older than 3 hours!\"}" $SLACK_WEBHOOK_URL
fi
done
restartPolicy: OnFailure
restartPolicy: OnFailure
2 changes: 1 addition & 1 deletion kube/services/node-monitors/node-not-ready.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
valueFrom:
configMapKeyRef:
name: global
key: slack_webhook
key: slack_alarm_webhook
- name: ENVIRONMENT
valueFrom:
configMapKeyRef:
Expand Down
2 changes: 1 addition & 1 deletion kube/services/workflow-age-monitor/argo-workflow-age.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
valueFrom:
configMapKeyRef:
name: global
key: slack_webhook
key: slack_alarm_webhook

command: ["/bin/bash"]
args:
Expand Down

0 comments on commit 514a984

Please sign in to comment.