Skip to content
Snippets Groups Projects
Commit 19dc4088 authored by Matthias Loibl's avatar Matthias Loibl Committed by GitHub
Browse files

Merge pull request #2349 from squat/tightenrole

 contrib/kube-prometheus: remove node role
parents ac83dba0 274e1d59
Branches
Tags
No related merge requests found
...@@ -129,7 +129,6 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet'; ...@@ -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',
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus" "subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus"
} }
}, },
"version": "9c0d2e34fa0a8bc22049e50bae46f4bb87ec2045" "version": "d5f758dc5d07b214cd5cdf639847ab0197f42f76"
}, },
{ {
"name": "ksonnet", "name": "ksonnet",
......
...@@ -9,7 +9,6 @@ items: ...@@ -9,7 +9,6 @@ items:
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- nodes
- services - services
- endpoints - endpoints
- pods - pods
...@@ -26,7 +25,6 @@ items: ...@@ -26,7 +25,6 @@ items:
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- nodes
- services - services
- endpoints - endpoints
- pods - pods
...@@ -43,7 +41,6 @@ items: ...@@ -43,7 +41,6 @@ items:
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- nodes
- services - services
- endpoints - endpoints
- pods - pods
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment