1
0
mirror of https://github.com/rancher/types.git synced 2025-09-25 12:21:24 +00:00

Minor schema changes

This commit is contained in:
Darren Shepherd
2017-12-16 01:41:44 -07:00
parent e023022b6f
commit 119f89d821

View File

@@ -205,6 +205,9 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
AddMapperForType(&Version, v1.PodTemplateSpec{},
&m.Embed{Field: "spec"},
).
AddMapperForType(&Version, v1.HTTPGetAction{},
&m.Drop{Field: "host"},
).
AddMapperForType(&Version, v1.Capabilities{},
m.Move{From: "add", To: "capAdd"},
m.Move{From: "drop", To: "capDrop"},