diff --git a/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet b/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet index 42cf59e7cdd29fa8dd4bd336c52261866d20636a..e1bc8dcce1ff07fa8276eaceacb8c94159a9bf42 100644 --- a/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet +++ b/jsonnet/kube-prometheus/prometheus-adapter/prometheus-adapter.libsonnet @@ -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() +