fix: change service monitor port to targetPort in configuration

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-03-17 23:13:00 +08:00
parent 697b8067c4
commit 1740c2a619

View File

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