This map function isn't actually needed. Children are only populated from mapping to parents during rendering, so there's no pre-existing replicasets to map. Simply having the Map2Parent function map pods to deployments has it do the right thing.