code: func (a customResourceStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
  	if utilfeature.DefaultFeatureGate.Enabled(apiextensionsfeatures.CustomResourceSubresources) && a.status != nil {
  		customResourceObject := obj.(*unstructured.Unstructured)
  		customResource := customResourceObject.UnstructuredContent()
  
  		// create cannot set status
  		if _, ok := customResource["status"]; ok {
  			delete(customResource, "status")
  		}
  	}
  
  	accessor, _ := meta.Accessor(obj)
  	accessor.SetGeneration(1)
  }
docs: // PrepareForCreate clears the status of a CustomResource before creation.