diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/servicemonitor.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/servicemonitor.yaml index c9ddaf8f..8b8172ae 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/servicemonitor.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/servicemonitor.yaml @@ -15,7 +15,7 @@ metadata: spec: endpoints: - path: /api/_/metrics - port: {{ .Values.authentication.serviceMonitor.port | quote }} + targetPort: {{ .Values.authentication.serviceMonitor.port }} {{- if .Values.authentication.serviceMonitor.interval }} interval: {{ .Values.authentication.serviceMonitor.interval }} {{- end }}