contrib/kube-prometheus: remove node role
This commit removes get/list/watch on nodes for the Prometheus-k8s instance, as Prometheus pods do not need that privilege for anything.
This commit is contained in:
@@ -129,7 +129,6 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
|
|||||||
local coreRule = policyRule.new() +
|
local coreRule = policyRule.new() +
|
||||||
policyRule.withApiGroups(['']) +
|
policyRule.withApiGroups(['']) +
|
||||||
policyRule.withResources([
|
policyRule.withResources([
|
||||||
'nodes',
|
|
||||||
'services',
|
'services',
|
||||||
'endpoints',
|
'endpoints',
|
||||||
'pods',
|
'pods',
|
||||||
|
Reference in New Issue
Block a user