Skip to content

Commit

Permalink
[kube-prometheus-stack] fix range function in servicemonitors (promet…
Browse files Browse the repository at this point in the history
…heus-community#3888)

* fix range function to include relabelings and metricRelabelings

Signed-off-by: Christian Niehoff <[email protected]>

* bump chart version

Signed-off-by: Christian Niehoff <[email protected]>

---------

Signed-off-by: Christian Niehoff <[email protected]>
  • Loading branch information
r3kzi authored and Matiasmct committed Mar 20, 2024
1 parent 30547a2 commit 5720190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 51.8.0
version: 51.8.1
appVersion: v0.68.0
kubeVersion: ">=1.19.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ items:
podTargetLabels:
{{ toYaml .podTargetLabels | indent 8 }}
{{- end }}
{{- end }}
{{- if .metricRelabelings }}
metricRelabelings:
{{ toYaml .metricRelabelings | indent 8 }}
Expand All @@ -45,3 +44,4 @@ items:
{{ toYaml .relabelings | indent 8 }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 5720190

Please sign in to comment.