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 bad73ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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 bad73ed

Please sign in to comment.