apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: gitea-valkey-renovate
  labels:
    helm.sh/chart: valkey-0.9.4
    app.kubernetes.io/name: valkey-renovate
    app.kubernetes.io/instance: gitea
    app.kubernetes.io/version: "9.1.0"
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/part-of: valkey
    app.kubernetes.io/component: service-monitor
spec:
  endpoints:
    - port: metrics
      interval: 30s
  namespaceSelector:
    matchNames:
      - gitea
  selector:
    matchLabels:
      app.kubernetes.io/name: valkey-renovate
      app.kubernetes.io/instance: gitea
      app.kubernetes.io/component: metrics
