mirror of
https://gitea.com/gitea/helm-chart.git
synced 2024-07-07 16:54:12 +02:00
14 lines
355 B
YAML
14 lines
355 B
YAML
|
{{- if .Values.gitea.metrics.serviceMonitor.enabled -}}
|
||
|
apiVersion: monitoring.coreos.com/v1
|
||
|
kind: ServiceMonitor
|
||
|
metadata:
|
||
|
name: {{ include "gitea.fullname" . }}
|
||
|
labels:
|
||
|
{{- include "gitea.labels" . | nindent 4 }}
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
{{- include "gitea.selectorLabels" . | nindent 6 }}
|
||
|
endpoints:
|
||
|
- port: http
|
||
|
{{- end -}}
|