Skip to content

Commit

Permalink
Merge pull request #384 from s-urbaniak/agg
Browse files Browse the repository at this point in the history
prometheus-adapter: add nodes resource to aggregated-metrics-reader
  • Loading branch information
brancz authored Jan 22, 2020
2 parents 9ebe632 + 90e5982 commit 269aef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ rules:
- metrics.k8s.io
resources:
- pods
- nodes
verbs:
- get
- list
Expand Down

0 comments on commit 269aef6

Please sign in to comment.