fix: change service monitor port to targetPort in configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
697b8067c4
commit
1740c2a619
@ -15,7 +15,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- path: /api/_/metrics
|
- path: /api/_/metrics
|
||||||
port: {{ .Values.authentication.serviceMonitor.port | quote }}
|
targetPort: {{ .Values.authentication.serviceMonitor.port }}
|
||||||
{{- if .Values.authentication.serviceMonitor.interval }}
|
{{- if .Values.authentication.serviceMonitor.interval }}
|
||||||
interval: {{ .Values.authentication.serviceMonitor.interval }}
|
interval: {{ .Values.authentication.serviceMonitor.interval }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user