code: func DropDisabledPodFields(pod, oldPod *api.Pod) {
  	var (
  		podSpec           *api.PodSpec
  		podAnnotations    map[string]string
  		oldPodSpec        *api.PodSpec
  		oldPodAnnotations map[string]string
  	)
  	if pod != nil {
  		podSpec = &pod.Spec
  		podAnnotations = pod.Annotations
  	}
  	if oldPod != nil {
  		oldPodSpec = &oldPod.Spec
  		oldPodAnnotations = oldPod.Annotations
  	}
  	dropDisabledFields(podSpec, podAnnotations, oldPodSpec, oldPodAnnotations)
  }
docs: // DropDisabledPodFields removes disabled fields from the pod metadata and spec.
  // This should be called from PrepareForCreate/PrepareForUpdate for all resources containing a Pod