From 60092259df440591b398abc4e663c48f8f96edf5 Mon Sep 17 00:00:00 2001 From: dongjiang1989 Date: Tue, 12 Mar 2024 23:13:01 +0800 Subject: [PATCH] fix bug Signed-off-by: dongjiang1989 --- charts/prometheus-mysql-exporter/templates/servicemonitor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/prometheus-mysql-exporter/templates/servicemonitor.yaml b/charts/prometheus-mysql-exporter/templates/servicemonitor.yaml index 25114d23b04b..59108d9d3209 100644 --- a/charts/prometheus-mysql-exporter/templates/servicemonitor.yaml +++ b/charts/prometheus-mysql-exporter/templates/servicemonitor.yaml @@ -71,6 +71,7 @@ spec: auth_module: - client.{{ .name }} {{- end }} + {{- end }} {{- end }} - path: /metrics port: {{ .Values.service.name }} @@ -86,5 +87,4 @@ spec: {{- if .Values.serviceMonitor.relabelings }} relabelings: {{ toYaml .Values.serviceMonitor.relabelings | nindent 8 }} {{- end }} - {{- end }} {{- end }}