Skip to content

Commit

Permalink
fix: fix serviceMonitor port and path if enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Štefany committed Jan 17, 2024
1 parent f14f58d commit b3f6e31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ metadata:
{{- end }}
spec:
endpoints:
- targetPort: http
- targetPort: prometheus
scheme: http
path: /apisix/prometheus/metrics
{{- if .Values.serviceMonitor.interval }}
interval: {{ .Values.serviceMonitor.interval }}
{{- end }}
Expand Down

0 comments on commit b3f6e31

Please sign in to comment.