Merge pull request #2349 from squat/tightenrole
contrib/kube-prometheus: remove node role
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',
|
||||||
|
@@ -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:
|
|||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
- nodes
|
|
||||||
- services
|
- services
|
||||||
- endpoints
|
- endpoints
|
||||||
- pods
|
- pods
|
||||||
@@ -26,7 +25,6 @@ items:
|
|||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
- nodes
|
|
||||||
- services
|
- services
|
||||||
- endpoints
|
- endpoints
|
||||||
- pods
|
- pods
|
||||||
@@ -43,7 +41,6 @@ items:
|
|||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
- nodes
|
|
||||||
- services
|
- services
|
||||||
- endpoints
|
- endpoints
|
||||||
- pods
|
- pods
|
||||||
|
Reference in New Issue
Block a user