Skip to content

Commit

Permalink
Add new event reasons to default template config
Browse files Browse the repository at this point in the history
Included "FailedScheduling" and "EgressBlocked" as new event reasons directly in the template definition. Removed duplicate reason mappings to streamline configuration and avoid redundancy.
  • Loading branch information
ffppa committed Jan 15, 2025
1 parent 03e03c1 commit 448b978
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions kubernetes_event_exporter/templates/default.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,9 @@ config:
- kind: "HorizontalPodAutoscaler"
- kind: "ScaledObjectCheckFailed"
- reason: "FailedToUpdateEndpoint"
- reason: "FailedScheduling"
- reason: "EgressBlocked"
match:
- receiver: ${opsgenie_receiver_name}-warning
reason: "FailedScheduling"
- receiver: ${opsgenie_receiver_name}-warning
reason: "EgressBlocked"
- receiver: ${opsgenie_receiver_name}-warning
reason: "OOMKilling"
- receiver: "${opsgenie_receiver_name}-critical"
Expand Down

0 comments on commit 448b978

Please sign in to comment.