observability-stack/manifests/prometheus-scrape-secret/additional-scrape-configs.yaml

38 lines
1005 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: prometheus-additional-scrape-configs
namespace: monitoring
labels:
app.kubernetes.io/name: prometheus
type: Opaque
stringData:
additional-scrape-configs.yaml: |+
# This content will be auto-updated by the pipeline
- job_name: harbor
static_configs:
- targets:
- harbor-core.dev-tools.svc.cluster.local:8001
- job_name: gitea
static_configs:
- targets:
- gitea-http.dev-tools.svc.cluster.local:3000
bearer_token: prometheusmetricstoken
- job_name: minio-bitnami
static_configs:
- targets:
- minio.infra.svc.cluster.local:9000
- job_name: nextcloud
static_configs:
- targets:
- nextcloud-exporter.my-apps.svc.cluster.local:9205
scheme: http
- job_name: uptime-kuma
static_configs:
- targets:
- uptime-kuma.my-apps.svc.cluster.local:3001
basic_auth:
username: dvirlabs
password: dvir4210200Ho