apiVersion: monitoring.coreos.com/v1alpha1
kind: ScrapeConfig
metadata:
  name: garage-https
  namespace: kube-prometheus-stack
  labels:
    app.kubernetes.io/name: garage-https
    app.kubernetes.io/instance: kube-prometheus-stack
    app.kubernetes.io/part-of: kube-prometheus-stack
spec:
  staticConfigs:
    - labels:
        job: garage
      targets:
        - garage-ps10rp.boreal-beaufort.ts.net:3903
  metricsPath: /metrics
  scrapeInterval: 1m
  scheme: HTTPS
  authorization:
    type: Bearer
    credentials:
      key: token
      name: garage-metric-secret
