Skip to content
Snippets Groups Projects
Commit 7165938b authored by Sergiusz Urbaniak's avatar Sergiusz Urbaniak
Browse files

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

parent 9ebe632d
No related branches found
No related tags found
No related merge requests found
......@@ -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() +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment