code: func (podTemplateStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
  	template := obj.(*api.PodTemplate)
  	oldTemplate := old.(*api.PodTemplate)
  	allErrs := validation.ValidatePodTemplateUpdate(template, oldTemplate)
  	allErrs = append(allErrs, corevalidation.ValidateConditionalPodTemplate(&template.Template, &oldTemplate.Template, field.NewPath("template"))...)
  	return allErrs
  }
docs: // ValidateUpdate is the default update validation for an end user.