Skip to content

Commit

Permalink
fix(falcosidekick): Move Prometheus scrape annotation to default values
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Martins <[email protected]>
  • Loading branch information
TiagoJMartins committed Jan 9, 2025
1 parent b4e6411 commit 567a0e5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 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.9.5

- Move the `prometheus.io/scrape` annotation to the default values, to allow overrides.

## 0.9.4

- Fix Prometheus metrics names in Prometheus Rule
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.30.0
description: Connect Falco to your ecosystem
icon: https://raw.githubusercontent.com/falcosecurity/falcosidekick/master/imgs/falcosidekick_color.png
name: falcosidekick
version: 0.9.4
version: 0.9.5
keywords:
- monitoring
- security
Expand Down
2 changes: 1 addition & 1 deletion charts/falcosidekick/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ The following table lists the main configurable parameters of the Falcosidekick
| replicaCount | int | `2` | number of running pods |
| resources | object | `{}` | The resources for falcosdekick pods |
| securityContext | object | `{}` | Sidekick container securityContext |
| service.annotations | object | `{}` | Service annotations |
| service.annotations | object | `{"prometheus.io/scrape":"true"}` | Service annotations |
| service.port | int | `2801` | Service port |
| service.type | string | `"ClusterIP"` | Service type |
| serviceMonitor.additionalLabels | object | `{}` | specify Additional labels to be added on the Service Monitor. |
Expand Down
1 change: 0 additions & 1 deletion charts/falcosidekick/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ metadata:
{{- with .Values.service.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
prometheus.io/scrape: "true"
spec:
type: {{ .Values.service.type }}
ports:
Expand Down
3 changes: 2 additions & 1 deletion charts/falcosidekick/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,8 @@ service:
# -- Service port
port: 2801
# -- Service annotations
annotations: {}
annotations:
prometheus.io/scrape: "true"
# networking.gke.io/load-balancer-type: Internal

ingress:
Expand Down

0 comments on commit 567a0e5

Please sign in to comment.