code: func newPodLabels(pod *v1.Pod) map[string]string {
  	labels := map[string]string{}
  
  	// Get labels from v1.Pod
  	for k, v := range pod.Labels {
  		labels[k] = v
  	}
  
  	labels[types.KubernetesPodNameLabel] = pod.Name
  	labels[types.KubernetesPodNamespaceLabel] = pod.Namespace
  	labels[types.KubernetesPodUIDLabel] = string(pod.UID)
  
  	return labels
  }
docs: // newPodLabels creates pod labels from v1.Pod.