Bind the metallb-exporter cluster role to prometheus directly

This commit is contained in:
Jón Tómas Grétarsson 2020-10-13 09:15:52 -07:00
parent c29680b230
commit c89af41371

View File

@ -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),
}, },