code: func Convert_core_PodSpec_To_v1_PodSpec(in *core.PodSpec, out *v1.PodSpec, s conversion.Scope) error {
  	if err := autoConvert_core_PodSpec_To_v1_PodSpec(in, out, s); err != nil {
  		return err
  	}
  
  	// DeprecatedServiceAccount is an alias for ServiceAccountName.
  	out.DeprecatedServiceAccount = in.ServiceAccountName
  
  	if in.SecurityContext != nil {
  		// the host namespace fields have to be handled here for backward compatibility
  		// with v1.0.0
  		out.HostPID = in.SecurityContext.HostPID
  		out.HostNetwork = in.SecurityContext.HostNetwork
  		out.HostIPC = in.SecurityContext.HostIPC
  		out.ShareProcessNamespace = in.SecurityContext.ShareProcessNamespace
  	}
  
  	return nil
  }
docs: // The following two v1.PodSpec conversions are done here to support v1.ServiceAccount
  // as an alias for ServiceAccountName.