mirror of
https://github.com/rancher/types.git
synced 2025-06-27 05:56:50 +00:00
Map catalogKind to kind
This commit is contained in:
parent
6c79f71293
commit
5367e58ae7
@ -44,6 +44,9 @@ func schemaTypes(schemas *types.Schemas) *types.Schemas {
|
||||
|
||||
func catalogTypes(schemas *types.Schemas) *types.Schemas {
|
||||
return schemas.
|
||||
AddMapperForType(&Version, v3.Catalog{},
|
||||
&m.Move{From: "catalogKind", To: "kind"},
|
||||
).
|
||||
MustImport(&Version, v3.Catalog{}).
|
||||
MustImport(&Version, v3.Template{}).
|
||||
MustImport(&Version, v3.TemplateVersion{})
|
||||
|
Loading…
Reference in New Issue
Block a user