mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-26 17:01:50 +02:00
jsonnet/kube-prometheus/kube-state-metrics: add missing clusterRole permissions
This commit is contained in:
parent
ee37661c34
commit
dba42d3477
@ -122,6 +122,22 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
rulesType.withApiGroups(['storage.k8s.io']) +
|
rulesType.withApiGroups(['storage.k8s.io']) +
|
||||||
rulesType.withResources([
|
rulesType.withResources([
|
||||||
'storageclasses',
|
'storageclasses',
|
||||||
|
'volumeattachments',
|
||||||
|
]) +
|
||||||
|
rulesType.withVerbs(['list', 'watch']),
|
||||||
|
|
||||||
|
rulesType.new() +
|
||||||
|
rulesType.withApiGroups(['admissionregistration.k8s.io']) +
|
||||||
|
rulesType.withResources([
|
||||||
|
'validatingwebhookconfigurations',
|
||||||
|
'mutatingwebhookconfigurations',
|
||||||
|
]) +
|
||||||
|
rulesType.withVerbs(['list', 'watch']),
|
||||||
|
|
||||||
|
rulesType.new() +
|
||||||
|
rulesType.withApiGroups(['networking.k8s.io']) +
|
||||||
|
rulesType.withResources([
|
||||||
|
'networkpolicies',
|
||||||
]) +
|
]) +
|
||||||
rulesType.withVerbs(['list', 'watch']),
|
rulesType.withVerbs(['list', 'watch']),
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user