Hello! Currently running into a few problems with more "complex" Alert configs.
Would be nice if we could use exclusionList on more than just the message such as the name of the alert, which I believe is called event.InvolvedObject.Name
I would like to run something like this without having to hardcore all services in eventSources for the first Alert config but still be able to add more customizable slack messages on only some services.
apiVersion: notification.toolkit.fluxcd.io/v1beta1
kind: Alert
metadata:
name: service-deploy
namespace: flux-system
spec:
summary: "HelmRelease deploys"
providerRef:
name: slack-service-deploy
eventSeverity: info
eventSources:
- kind: HelmRelease
name: "*"
exclusionList:
- ".*flurrens-service.*"
---
apiVersion: notification.toolkit.fluxcd.io/v1beta1
kind: Alert
metadata:
name: service-deploy-flurren
namespace: flux-system
spec:
summary: "tex text notify owner <@SLACK_ID_HERE>"
providerRef:
name: slack-service-deploy
eventSeverity: info
eventSources:
- kind: HelmRelease
name: "*"
matchLabels:
owner: flurren
Hello! Currently running into a few problems with more "complex"
Alertconfigs.Would be nice if we could use exclusionList on more than just the message such as the name of the alert, which I believe is called
event.InvolvedObject.NameI would like to run something like this without having to hardcore all services in
eventSourcesfor the firstAlertconfig but still be able to add more customizable slack messages on only some services.