Skip to content

Commit

Permalink
Updated to receive alerts for CC test channel
Browse files Browse the repository at this point in the history
Added a route and receiver for CC KVM Alerts test channel #alert-kvm-test
  • Loading branch information
himanip94 authored Dec 2, 2024
1 parent 8cfec66 commit 45d13ce
Showing 1 changed file with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ spec:
value: alerting|backup|castellum|cc3test|ceph|exporter|gatekeeper|grafana|hermes|jumpserver|keppel|limes|logs|maia|metis|metrics|repo|slack-alert-reactions|swift|tenso
- name: region
matchType: "=~"
value: {{ without .Values.regions "qa-de-1" | join "|" }}
value: {{ without .Values.regions "qa-de-1" | join "|" }}

# to be reviewed
- receiver: slack_sre
Expand Down Expand Up @@ -467,6 +467,26 @@ spec:
matchType: "="
value: compute

# Test Channel for CC KVM Alerting slack_alert_kvm_test
- receiver: slack_alert_kvm_test
continue: true
matchers:
- name: tier
matchType: "="
value: vmware
- name: support_group
matchType: "="
value: compute
- name: service
matchType: "="
value: kvm
- name: severity
matchType: "="
value: info|warning|critical
- name: region
matchType: "=~"
value: {{ .Values.regions | join "|" }}

receivers:
- name: slack

Expand Down Expand Up @@ -606,6 +626,14 @@ spec:
key: slack_webhookURL
{{- include "slack.template" . | nindent 10 }}

- name: slack_alert_kvm_test
slackConfigs:
- channel: '#alert-kvm-test'
apiURL:
name: alertmanager-{{ include "alertmanagerRelease.name" . }}-slack-secrets
key: slack_webhookURL
{{- include "slack.template" . | nindent 10 }}

{{- range $slack := .Values.slack.supportChannels }}
- name: {{ printf "%s%s" "support_group_alerts_critical_" $slack.name }}
slackConfigs:
Expand Down

0 comments on commit 45d13ce

Please sign in to comment.