From f45a3082938884f0f94f59a33afe2da3a55baa0b Mon Sep 17 00:00:00 2001 From: Tiago Martins Date: Mon, 11 Nov 2024 13:19:02 +0000 Subject: [PATCH] fix(falcosidekick): Allow overriding the Prometheus scrape annotation on the Service resource Signed-off-by: Tiago Martins --- charts/falcosidekick/CHANGELOG.md | 4 ++++ charts/falcosidekick/Chart.yaml | 2 +- charts/falcosidekick/templates/service.yaml | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/falcosidekick/CHANGELOG.md b/charts/falcosidekick/CHANGELOG.md index f9f562d98..d5768cac1 100644 --- a/charts/falcosidekick/CHANGELOG.md +++ b/charts/falcosidekick/CHANGELOG.md @@ -5,6 +5,10 @@ numbering uses [semantic versioning](http://semver.org). Before release 0.1.20, the helm chart can be found in `falcosidekick` [repository](https://github.com/falcosecurity/falcosidekick/tree/master/deploy/helm/falcosidekick). +## 0.8.10 + +- Allow overriding the `prometheus.io/scrape` annotation in the Service resource. + ## 0.8.9 - Fix customConfig mount path for webui redis diff --git a/charts/falcosidekick/Chart.yaml b/charts/falcosidekick/Chart.yaml index dabc2ee49..ca278ca48 100644 --- a/charts/falcosidekick/Chart.yaml +++ b/charts/falcosidekick/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 2.29.0 description: Connect Falco to your ecosystem icon: https://raw.githubusercontent.com/falcosecurity/falcosidekick/master/imgs/falcosidekick_color.png name: falcosidekick -version: 0.8.9 +version: 0.8.10 keywords: - monitoring - security diff --git a/charts/falcosidekick/templates/service.yaml b/charts/falcosidekick/templates/service.yaml index fdea8debe..a4b97216b 100644 --- a/charts/falcosidekick/templates/service.yaml +++ b/charts/falcosidekick/templates/service.yaml @@ -11,13 +11,14 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} annotations: + prometheus.io/scrape: "true" {{- with .Values.customAnnotations }} {{- toYaml . | nindent 4 }} {{- end }} {{- with .Values.service.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - prometheus.io/scrape: "true" + spec: type: {{ .Values.service.type }} ports: