Bump kube-state-metrics to 1.7.0-rc.1 and add storageclass rules

This commit is contained in:
Matthias Loibl
2019-07-12 13:37:21 +02:00
committed by Lili Cosic
parent 7d6183a9ec
commit 6faecd63b7

View File

@@ -16,7 +16,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
},
versions+:: {
kubeStateMetrics: 'v1.6.0',
kubeStateMetrics: 'v1.7.0-rc.1',
kubeRbacProxy: 'v0.4.1',
addonResizer: '1.8.4',
},
@@ -125,6 +125,12 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
]) +
rulesType.withVerbs(['list', 'watch']),
rulesType.new() +
rulesType.withApiGroups(['storage.k8s.io']) +
rulesType.withResources([
'storageclass',
]) +
rulesType.withVerbs(['list', 'watch']),
];
clusterRole.new() +