code: func ValidateCustomResourceDefinitionSpec(spec *apiextensions.CustomResourceDefinitionSpec, fldPath *field.Path) field.ErrorList {
  	return validateCustomResourceDefinitionSpec(spec, true, fldPath)
  }
docs: // ValidateCustomResourceDefinitionSpec statically validates