storage capacity: v1 API

This commit is contained in:
Patrick Ohly
2022-03-02 07:42:00 +01:00
parent 3a7deaa141
commit 921edae2b4
10 changed files with 129 additions and 14 deletions

View File

@@ -61,6 +61,8 @@ func DefaultWatchCacheSizes() map[schema.GroupResource]int {
func NewStorageFactoryConfig() *StorageFactoryConfig {
resources := []schema.GroupVersionResource{
// TODO (https://github.com/kubernetes/kubernetes/issues/108451): remove the override in
// 1.25.
apisstorage.Resource("csistoragecapacities").WithVersion("v1beta1"),
}