mirror of
https://github.com/bitnami/charts.git
synced 2026-03-12 14:57:18 +08:00
Use named port for mongodb-sharded ServiceMonitor
This commit is contained in:
@@ -14,7 +14,7 @@ spec:
|
||||
selector:
|
||||
matchLabels: {{- include "mongodb-sharded.matchLabels" . | nindent 6 }}
|
||||
endpoints:
|
||||
- port: 9216
|
||||
- port: metrics
|
||||
{{- if .Values.metrics.serviceMonitor.interval }}
|
||||
interval: {{ .Values.metrics.serviceMonitor.interval }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user