Skip to content

Commit

Permalink
fix(falcosidekick): Allow overriding the Prometheus scrape annotation…
Browse files Browse the repository at this point in the history
… on the Service resource

Signed-off-by: Tiago Martins <[email protected]>
  • Loading branch information
TiagoJMartins committed Nov 11, 2024
1 parent 9f5ea39 commit f45a308
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/falcosidekick/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/falcosidekick/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion charts/falcosidekick/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f45a308

Please sign in to comment.