Skip to content

Commit

Permalink
fix: change svc target port in servicemonitor (#32236)
Browse files Browse the repository at this point in the history
* fix: change svc target port in servicemonitor

The KeyDB service port name did not match the expected name in the ServiceMonitor configuration.  
This mismatch caused Prometheus to fail to scrape metrics from the KeyDB instance.  

This commit updates the ServiceMonitor port name to ensure consistency between the Service and ServiceMonitor,  
allowing Prometheus to correctly discover and collect metrics.

Signed-off-by: Aioramu <[email protected]>

* increase chart version after fix

Signed-off-by: Aioramu <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Aioramu <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
  • Loading branch information
Aioramu and bitnami-bot authored Mar 4, 2025
1 parent 353c702 commit f5056c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions bitnami/keydb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 0.5.0 (2025-02-21)
## 0.5.1 (2025-03-03)

* [bitnami/keydb] Set `usePasswordFiles=true` by default ([#32108](https://github.com/bitnami/charts/pull/32108))
* fix: change svc target port in servicemonitor ([#32236](https://github.com/bitnami/charts/pull/32236))

## 0.5.0 (2025-02-27)

* [bitnami/keydb] Set `usePasswordFiles=true` by default (#32108) ([68a1f40](https://github.com/bitnami/charts/commit/68a1f4048a6aac040a9a6567508bddf8bbe061a6)), closes [#32108](https://github.com/bitnami/charts/issues/32108)

## 0.4.0 (2025-02-20)

Expand Down
2 changes: 1 addition & 1 deletion bitnami/keydb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ name: keydb
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/keydb
- https://github.com/bitnami/containers/tree/main/bitnami/keydb
version: 0.5.0
version: 0.5.1
2 changes: 1 addition & 1 deletion bitnami/keydb/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
{{- include "common.tplvalues.render" (dict "value" .Values.metrics.serviceMonitor.selector "context" $) | nindent 6 }}
{{- end }}
endpoints:
- port: tcp-metrics
- port: http-metrics
path: "/metrics"
{{- if .Values.metrics.serviceMonitor.interval }}
interval: {{ .Values.metrics.serviceMonitor.interval }}
Expand Down

0 comments on commit f5056c8

Please sign in to comment.