observability-stack/manifests/prometheus-scrape-secret/additional-scrape-configs.yaml
2025-06-26 04:37:33 +03:00

33 lines
903 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: vault
static_configs:
- targets:
- vault.dev-tools.svc.cluster.local:8200
metrics_path: /v1/sys/metrics
scheme: http
- job_name: woodpecker
static_configs:
- targets:
- woodpecker-server.dev-tools.svc.cluster.local:9000
- job_name: gitea
static_configs:
- targets:
- gitea-http.dev-tools.svc.cluster.local:3000
basic_auth:
username: prometheus
password: f6df9295f4ac911caf779f8fb46fed57db3c2b4e