diff --git a/apis/cluster.cattle.io/v3/schema/schema.go b/apis/cluster.cattle.io/v3/schema/schema.go index d28e4609..8f570f76 100644 --- a/apis/cluster.cattle.io/v3/schema/schema.go +++ b/apis/cluster.cattle.io/v3/schema/schema.go @@ -18,7 +18,8 @@ var ( Schemas = factory.Schemas(&Version). Init(namespaceTypes). - Init(nodeTypes) + Init(nodeTypes). + Init(volumeTypes) ) func namespaceTypes(schemas *types.Schemas) *types.Schemas { @@ -49,3 +50,8 @@ func nodeTypes(schemas *types.Schemas) *types.Schemas { }{}). MustImport(&Version, v1.Node{}) } + +func volumeTypes(schemas *types.Schemas) *types.Schemas { + return schemas. + MustImport(&Version, v1.PersistentVolume{}) +}