1
0
mirror of https://github.com/rancher/types.git synced 2025-07-10 20:13:04 +00:00

Drop new field in nodes

This commit is contained in:
Darren Shepherd 2018-10-24 16:29:59 -07:00
parent c3e9ad5cc5
commit 33edfbcf52

View File

@ -219,6 +219,7 @@ func nodeTypes(schemas *types.Schemas) *types.Schemas {
AddMapperForType(&Version, v3.NodeStatus{},
&m.Drop{Field: "nodeTemplateSpec"},
&m.Embed{Field: "internalNodeStatus"},
&m.Drop{Field: "config"},
&m.SliceMerge{From: []string{"conditions", "nodeConditions"}, To: "conditions"}).
AddMapperForType(&Version, v3.Node{},
&m.Embed{Field: "status"},