code: func (volumeAttachmentStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
  	var groupVersion schema.GroupVersion
  
  	if requestInfo, found := genericapirequest.RequestInfoFrom(ctx); found {
  		groupVersion = schema.GroupVersion{Group: requestInfo.APIGroup, Version: requestInfo.APIVersion}
  	}
  
  	switch groupVersion {
  	case storageapiv1beta1.SchemeGroupVersion:
  		// allow modification of status for v1beta1
  	default:
  		volumeAttachment := obj.(*storage.VolumeAttachment)
  		volumeAttachment.Status = storage.VolumeAttachmentStatus{}
  	}
  }
docs: // ResetBeforeCreate clears the Status field which is not allowed to be set by end users on creation.