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:
Lucas Serven
2019-01-28 14:20:58 +01:00
parent d4ce83203c
commit fd697ffbff

View File

@@ -129,7 +129,6 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
local coreRule = policyRule.new() +
policyRule.withApiGroups(['']) +
policyRule.withResources([
'nodes',
'services',
'endpoints',
'pods',