mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2025-01-25 00:08:59 +01:00
Bind the metallb-exporter cluster role to prometheus directly
This commit is contained in:
parent
c29680b230
commit
c89af41371
@ -35,12 +35,8 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
], null),
|
], null),
|
||||||
|
|
||||||
|
|
||||||
serviceAccount:
|
|
||||||
utils.newServiceAccount('metallb-exporter', $._config.namespace, null),
|
|
||||||
|
|
||||||
|
|
||||||
clusterRoleBinding:
|
clusterRoleBinding:
|
||||||
utils.newClusterRoleBinding('metallb-exporter', 'metallb-exporter', $._config.namespace, 'metallb-exporter', null),
|
utils.newClusterRoleBinding('metallb-exporter', 'prometheus-k8s', $._config.namespace, 'metallb-exporter', null),
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user