Bind the metallb-exporter cluster role to prometheus directly
parent
c29680b230
commit
c89af41371
|
@ -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),
|
||||
|
||||
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue