diff --git a/apis/project.cattle.io/v3/schema/schema.go b/apis/project.cattle.io/v3/schema/schema.go index 22ab1717..c97f3cd9 100644 --- a/apis/project.cattle.io/v3/schema/schema.go +++ b/apis/project.cattle.io/v3/schema/schema.go @@ -527,6 +527,9 @@ func podTypes(schemas *types.Schemas) *types.Schemas { AddMapperForType(&Version, v1.PodSpec{}, mapper.InitContainerMapper{}, mapper.SchedulingMapper{}, + m.Move{From: "priority", To: "scheduling/priority", DestDefined: true}, + m.Move{From: "priorityClassName", To: "scheduling/priorityClassName", DestDefined: true}, + m.Move{From: "schedulerName", To: "scheduling/scheduler", DestDefined: true}, m.Move{From: "tolerations", To: "scheduling/tolerate", DestDefined: true}, &m.Embed{Field: "securityContext"}, &m.Drop{Field: "serviceAccount"},