Skip to content
Snippets Groups Projects
Commit dba42d34 authored by João Assad's avatar João Assad
Browse files

jsonnet/kube-prometheus/kube-state-metrics: add missing clusterRole permissions

parent ee37661c
No related branches found
No related tags found
No related merge requests found
...@@ -122,6 +122,22 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet'; ...@@ -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']),
]; ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment