allErrs=append(allErrs,field.Required(fldPath.Child("webhookClientConfig"),"required when strategy is set to Webhook"))
}else{
allErrs=append(allErrs,field.Required(fldPath.Child("webhookClientConfig"),"required when strategy is set to Webhook, but not allowed because the CustomResourceWebhookConversion feature is disabled"))
}
}else{
cc:=conversion.WebhookClientConfig
switch{
case(cc.URL==nil)==(cc.Service==nil):
allErrs=append(allErrs,field.Required(fldPath.Child("webhookClientConfig"),"exactly one of url or service is required"))