From 78285701189468643a05876191a471cb84352be3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Johannes=20W=C3=BCrbach?= <johannes.wuerbach@googlemail.com>
Date: Tue, 12 Jan 2021 11:55:48 +0100
Subject: [PATCH] Fix service names in kube-prometheus-kops

---
 jsonnet/kube-prometheus/kube-prometheus-kops.libsonnet | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jsonnet/kube-prometheus/kube-prometheus-kops.libsonnet b/jsonnet/kube-prometheus/kube-prometheus-kops.libsonnet
index 5615ae20..54be338e 100644
--- a/jsonnet/kube-prometheus/kube-prometheus-kops.libsonnet
+++ b/jsonnet/kube-prometheus/kube-prometheus-kops.libsonnet
@@ -23,14 +23,14 @@ local service(name, namespace, labels, selector, ports) = {
       [{ name: 'https-metrics', port: 10257, targetPort: 10257 }]
     ),
     kubeSchedulerPrometheusDiscoveryService: service(
-      'kube-controller-manager-prometheus-discovery',
+      'kube-scheduler-prometheus-discovery',
       'kube-system',
       { 'app.kubernetes.io/name': 'kube-scheduler' },
       { 'app.kubernetes.io/name': 'kube-scheduler' },
       [{ name: 'https-metrics', port: 10259, targetPort: 10259 }]
     ),
     kubeDnsPrometheusDiscoveryService: service(
-      'kube-controller-manager-prometheus-discovery',
+      'kube-dns-prometheus-discovery',
       'kube-system',
       { 'app.kubernetes.io/name': 'kube-dns' },
       { 'app.kubernetes.io/name': 'kube-dns' },
-- 
GitLab