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
brancz authored Jan 22, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 9ebe632 + 90e5982 commit 269aef6
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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() +
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ rules:
- metrics.k8s.io
resources:
- pods
- nodes
verbs:
- get
- list

0 comments on commit 269aef6

Please sign in to comment.