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 }}