returnadmission.NewForbidden(attributes,fmt.Errorf("cannot set blockOwnerDeletion in this case because cannot find RESTMapping for APIVersion %s Kind %s: %v, %v",ref.APIVersion,ref.Kind,reason,err))
returnadmission.NewForbidden(attributes,fmt.Errorf("cannot set blockOwnerDeletion in this case because cannot find RESTMapping for APIVersion %s Kind %s: %v",ref.APIVersion,ref.Kind,err))
}
}
// Multiple records are returned if ref.Kind could map to multiple
// Multiple records are returned if ref.Kind could map to multiple
// resources. User needs to have delete permission on all the
// resources. User needs to have delete permission on all the