From 19366a8c5a623428ec237acdb8b8fa0647ab06de Mon Sep 17 00:00:00 2001 From: binlan Date: Tue, 30 Jul 2024 21:58:37 +0200 Subject: [PATCH] FIX: rendering of the internal port in the serviceMonitor (#782) Signed-off-by: Marc Co-authored-by: Marc --- charts/keycloakx/templates/servicemonitor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/keycloakx/templates/servicemonitor.yaml b/charts/keycloakx/templates/servicemonitor.yaml index 79f80937..f65568af 100644 --- a/charts/keycloakx/templates/servicemonitor.yaml +++ b/charts/keycloakx/templates/servicemonitor.yaml @@ -32,7 +32,7 @@ spec: {{- include "keycloak.selectorLabels" $ | nindent 6 }} app.kubernetes.io/component: http endpoints: - - port: {{ .port }} + - port: {{ tpl .port $ | quote }} path: {{ tpl .path $ | quote }} interval: {{ .interval }} scrapeTimeout: {{ .scrapeTimeout }}