diff --git a/charts/enterprise/blocky/templates/servicemonitor.yaml b/charts/enterprise/blocky/templates/servicemonitor.yaml index 8b6244bb3a3..3a719d761e1 100644 --- a/charts/enterprise/blocky/templates/servicemonitor.yaml +++ b/charts/enterprise/blocky/templates/servicemonitor.yaml @@ -13,7 +13,7 @@ spec: matchLabels: {{- include "tc.common.labels.selectorLabels" . | nindent 6 }} endpoints: - - port: {{ .Values.service.http.ports.http.port }} + - port: http {{- with .Values.metrics.serviceMonitor.interval }} interval: {{ . }} {{- end }}