Skip to content
Snippets Groups Projects
Commit 8b570f5f authored by Lili Cosic's avatar Lili Cosic
Browse files

jsonnet/kube-state-metrics: Fix storageclass role

The resource is called storageclasses not storageclass.
parent ca6ca5f6
Branches
Tags
No related merge requests found
...@@ -128,7 +128,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet'; ...@@ -128,7 +128,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
rulesType.new() + rulesType.new() +
rulesType.withApiGroups(['storage.k8s.io']) + rulesType.withApiGroups(['storage.k8s.io']) +
rulesType.withResources([ rulesType.withResources([
'storageclass', 'storageclasses',
]) + ]) +
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