code: func (strategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
  	crd := obj.(*apiextensions.CustomResourceDefinition)
  	crd.Status = apiextensions.CustomResourceDefinitionStatus{}
  	crd.Generation = 1
  
  	dropDisabledFields(&crd.Spec, nil)
  
  	for _, v := range crd.Spec.Versions {
  		if v.Storage {
  			if !apiextensions.IsStoredVersion(crd, v.Name) {
  				crd.Status.StoredVersions = append(crd.Status.StoredVersions, v.Name)
  			}
  			break
  		}
  	}
  }
docs: // PrepareForCreate clears the status of a CustomResourceDefinition before creation.