code: func (daemonSetStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
  	daemonSet := obj.(*apps.DaemonSet)
  	daemonSet.Status = apps.DaemonSetStatus{}
  
  	daemonSet.Generation = 1
  	if daemonSet.Spec.TemplateGeneration < 1 {
  		daemonSet.Spec.TemplateGeneration = 1
  	}
  
  	pod.DropDisabledTemplateFields(&daemonSet.Spec.Template, nil)
  }
docs: // PrepareForCreate clears the status of a daemon set before creation.