From 2de408388ac8f7d64ef6b368a5bc259c9aa91480 Mon Sep 17 00:00:00 2001 From: Akram Ben Aissi Date: Wed, 15 Jan 2025 13:09:26 +0700 Subject: [PATCH] RHOAIENG-18095: Deprecation of kube-rbac-proxy (#1500) --- config/monitoring/prometheus/apps/prometheus-configs.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/monitoring/prometheus/apps/prometheus-configs.yaml b/config/monitoring/prometheus/apps/prometheus-configs.yaml index 8693a7797a6..87f7eb298ec 100644 --- a/config/monitoring/prometheus/apps/prometheus-configs.yaml +++ b/config/monitoring/prometheus/apps/prometheus-configs.yaml @@ -334,7 +334,11 @@ data: - job_name: 'Kueue Operator' honor_labels: true metrics_path: /metrics - scheme: http + scheme: https + tls_config: + insecure_skip_verify: true + authorization: + credentials_file: /run/secrets/kubernetes.io/serviceaccount/token kubernetes_sd_configs: - role: endpoints namespaces: @@ -348,7 +352,7 @@ data: - source_labels: [__address__] regex: (.+):(\d+) target_label: __address__ - replacement: ${1}:8080 + replacement: ${1}:8443 - job_name: 'TrustyAI Controller Manager' honor_labels: true