code: func updateIdentity(set *apps.StatefulSet, pod *v1.Pod) {
  	pod.Name = getPodName(set, getOrdinal(pod))
  	pod.Namespace = set.Namespace
  	if pod.Labels == nil {
  		pod.Labels = make(map[string]string)
  	}
  	pod.Labels[apps.StatefulSetPodNameLabel] = pod.Name
  }
docs: // updateIdentity updates pod's name, hostname, and subdomain, and StatefulSetPodNameLabel to conform to set's name
  // and headless service.