From fd24ce861d8262d21f4250e475dcc944e78aac83 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Sun, 1 Jun 2025 12:44:47 +0300 Subject: [PATCH] Please work --- .../prometheus-additional-scrape-configs.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/manifests/prometheus/prometheus-additional-scrape-configs.yaml b/manifests/prometheus/prometheus-additional-scrape-configs.yaml index 156cfc6..0471954 100644 --- a/manifests/prometheus/prometheus-additional-scrape-configs.yaml +++ b/manifests/prometheus/prometheus-additional-scrape-configs.yaml @@ -3,6 +3,8 @@ kind: ConfigMap metadata: name: prometheus-additional-scrape-configs namespace: monitoring + labels: + app.kubernetes.io/name: prometheus data: additional-scrape-configs.yaml: | - job_name: gitea @@ -10,4 +12,13 @@ data: metrics_path: /metrics static_configs: - targets: - - git.dvirlabs.com + - gitea-http.gitea.svc.cluster.local:3000 + authorization: + type: Bearer + credentials: prometheusmetricstoken + + - job_name: vault + metrics_path: /metrics + static_configs: + - targets: + - vault.dev-tools.svc.cluster.local:8200