prometheus-adapter: add nodes resource to aggregated-metrics-reader

This commit is contained in:
Sergiusz Urbaniak
2020-01-21 18:36:52 +01:00
parent 9ebe632d5d
commit 7165938b39

View File

@@ -191,7 +191,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
local rules =
policyRule.new() +
policyRule.withApiGroups(['metrics.k8s.io']) +
policyRule.withResources(['pods']) +
policyRule.withResources(['pods', 'nodes']) +
policyRule.withVerbs(['get','list','watch']);
clusterRole.new() +