bbgo_origin/charts/bbgo/templates/podmonitor.yaml

15 lines
342 B
YAML
Raw Permalink Normal View History

2021-12-27 15:24:35 +00:00
{{- if .Values.metrics.enabled }}
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: {{ include "bbgo.fullname" . }}
labels:
{{- include "bbgo.labels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "bbgo.selectorLabels" . | nindent 6 }}
podMetricsEndpoints:
- port: metrics
{{- end }}