2025-05-21 10:00:54 +03:00

15 lines
324 B
YAML

{{- if .Values.monitoring.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: gitea-exporter
labels:
{{- toYaml .Values.monitoring.labels | nindent 4 }}
spec:
selector:
matchLabels:
app: gitea-exporter
podMetricsEndpoints:
- port: metrics
interval: 30s
{{- end }}