From c89af41371005e2be47d7ec5915d9fa64cb74b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20T=C3=B3mas=20Gr=C3=A9tarsson?= Date: Tue, 13 Oct 2020 09:15:52 -0700 Subject: [PATCH] Bind the metallb-exporter cluster role to prometheus directly --- modules/metallb.jsonnet | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/metallb.jsonnet b/modules/metallb.jsonnet index 578c9f6..356f1c4 100644 --- a/modules/metallb.jsonnet +++ b/modules/metallb.jsonnet @@ -35,12 +35,8 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet'; ], null), - serviceAccount: - utils.newServiceAccount('metallb-exporter', $._config.namespace, null), - - clusterRoleBinding: - utils.newClusterRoleBinding('metallb-exporter', 'metallb-exporter', $._config.namespace, 'metallb-exporter', null), + utils.newClusterRoleBinding('metallb-exporter', 'prometheus-k8s', $._config.namespace, 'metallb-exporter', null), },