Fix prometheus-nut-exporter service monitor. (#1637)

This commit is contained in:
Markus Reiter 2022-06-30 12:31:13 +02:00 committed by GitHub
parent 70a20f3881
commit dbc0a46faf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ apiVersion: v2
appVersion: 1.1.1
description: Prometheus NUT Exporter a service monitor to send NUT server metrics to a Prometheus instance.
name: prometheus-nut-exporter
version: 5.3.3
version: 5.3.4
kubeVersion: ">=1.16.0-0"
keywords:
- nut
@ -21,5 +21,5 @@ dependencies:
version: 4.4.2
annotations:
artifacthub.io/changes: |-
- kind: changed
description: Upgraded `common` chart dependency to version 4.4.2
- kind: fixed
description: Fixed `ServiceMonitor` endpoints loop.

View File

@ -15,8 +15,8 @@ spec:
matchLabels:
{{- include "common.labels.selectorLabels" . | nindent 6 }}
endpoints:
- port: metrics
{{- range .Values.metrics.serviceMonitor.targets }}
- port: metrics
interval: {{ .interval }}
scrapeTimeout: {{ .scrapeTimeout }}
path: /metrics