Merge pull request #99 from jontg/fix/metallb-cluster-role-binding

Bind the metallb-exporter cluster role to prometheus directly
This commit is contained in:
Carlos Eduardo 2020-10-27 20:54:40 -03:00 committed by GitHub
commit eac9776cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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