From 30137eac98c4ffd80bda6e7dcf12028b721232f3 Mon Sep 17 00:00:00 2001 From: Jochem Date: Fri, 12 Jul 2024 17:09:31 +0200 Subject: [PATCH] Resolve bug in the PrometheusRule for line in falco exporter Signed-off-by: Jochem --- charts/falco-exporter/CHANGELOG.md | 4 ++++ charts/falco-exporter/Chart.yaml | 2 +- charts/falco-exporter/README.md | 2 +- charts/falco-exporter/templates/prometheusrule.yaml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/charts/falco-exporter/CHANGELOG.md b/charts/falco-exporter/CHANGELOG.md index cf0297042..f88ebc000 100644 --- a/charts/falco-exporter/CHANGELOG.md +++ b/charts/falco-exporter/CHANGELOG.md @@ -3,6 +3,10 @@ This file documents all notable changes to `falco-exporter` Helm Chart. The release numbering uses [semantic versioning](http://semver.org). +## v0.12.1 + +* fix bug in 'for' for falco exporter prometheus rules + ## v0.12.0 * make 'for' configurable for falco exporter prometheus rules diff --git a/charts/falco-exporter/Chart.yaml b/charts/falco-exporter/Chart.yaml index d771a4d46..0f0854032 100644 --- a/charts/falco-exporter/Chart.yaml +++ b/charts/falco-exporter/Chart.yaml @@ -14,7 +14,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.12.0 +version: 0.12.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/charts/falco-exporter/README.md b/charts/falco-exporter/README.md index a0599eb00..e4761c903 100644 --- a/charts/falco-exporter/README.md +++ b/charts/falco-exporter/README.md @@ -70,7 +70,7 @@ helm install falco-exporter \ ## Configuration -The following table lists the main configurable parameters of the falco-exporter chart v0.12.0 and their default values. Please, refer to [values.yaml](./values.yaml) for the full list of configurable parameters. +The following table lists the main configurable parameters of the falco-exporter chart v0.12.1 and their default values. Please, refer to [values.yaml](./values.yaml) for the full list of configurable parameters. ## Values diff --git a/charts/falco-exporter/templates/prometheusrule.yaml b/charts/falco-exporter/templates/prometheusrule.yaml index c50f185f5..c160e6f52 100644 --- a/charts/falco-exporter/templates/prometheusrule.yaml +++ b/charts/falco-exporter/templates/prometheusrule.yaml @@ -51,7 +51,7 @@ spec: summary: Falco is experiencing high rate of critical events description: A high rate of critical events are being detected by Falco expr: rate(falco_events{priority="2"}[{{ .Values.prometheusRules.alerts.critical.rate_interval }}]) > {{ .Values.prometheusRules.alerts.critical.threshold }} - {{ .Values.prometheusRules.alerts.critical.for }} + for: {{ .Values.prometheusRules.alerts.critical.for }} labels: severity: critical {{- end }}