1
0
mirror of https://github.com/rancher/types.git synced 2025-06-29 15:06:48 +00:00

correct toleration field name

This commit is contained in:
kinarashah 2018-12-20 20:20:21 -08:00 committed by Alena Prokharchyk
parent 69a7ac7dcf
commit acda634a29

View File

@ -510,7 +510,7 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
AddMapperForType(&Version, v1.PodSpec{},
mapper.InitContainerMapper{},
mapper.SchedulingMapper{},
m.Move{From: "tolerations", To: "scheduling/tolerations", DestDefined: true},
m.Move{From: "tolerations", To: "scheduling/tolerate", DestDefined: true},
&m.Embed{Field: "securityContext"},
&m.Drop{Field: "serviceAccount"},
).