robusta-dev / kubewatch

Watch k8s events and trigger Handlers
Apache License 2.0
604 stars 84 forks source link

kubewatch event filtering out by k8s event type type (Normal, Information, Warning) #64

Open peterpajak opened 8 months ago

peterpajak commented 8 months ago

need to filter out k8s "Normal" events so they are NOT forwarded to my Slack channel. looking for a correct syntax in configmap.yaml for section "resourcesToWatch:" or "resource:".

my configmap example: resource: clusterrole: false clusterrolebinding: false configmap: false daemonset: false deployment: false event: true

my helmrelease example: resourcesToWatch: events: true