From 1a3dfa06d8d829ceff016ded0751798fd29422af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Steinh=C3=A4user?= <42437185+leonsteinhaeuser@users.noreply.github.com> Date: Tue, 20 Feb 2024 13:09:27 +0100 Subject: [PATCH] fix: service monitor port reference (#13) --- internal/bootstrap/files.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bootstrap/files.go b/internal/bootstrap/files.go index 0832f35..58b341c 100644 --- a/internal/bootstrap/files.go +++ b/internal/bootstrap/files.go @@ -74,7 +74,7 @@ metadata: {{- include "%[1]s.labels" . | nindent 4 }} spec: endpoints: - - port: {{ .Values.service.port }} + - port: http path: {{ .Values.%[2]s.serviceMonitor.metricsPath }} {{- with .Values.%[2]s.serviceMonitor.interval }} interval: {{ . }}