know she she had eaten tomatoes and eggplant
It is highly unlikely this is tied to eat
1. food allergies are caused by proteins which are lacking in vegitable
2. while ear problems can increase with food allergies there is usual other skin issues involved as well
It is more likely that it is coninidence, it a normal ear infection or there is something stuck fox tail, seed pod etc in the ear canal . Flushing with a large amount of ear cleaner might help dislodge something if it were stuck in the ear canal. Fill the canal with cleaning solution massage gentlely and let the dog shake the fluid out of the ear on its own before wiping dry.
If there in not any debris being remove from flushing the ear it is less likely an infection and quite possiblely something stuck in the canal which is going to need a vet to remove.
Chucky brown debrs is often a yeast infection. vinegar, boric acid and gentian violet all are antifungal however they can be ototoxic With an ear infection often the ear drum becomes inflamed and ruptures and allow cleaning solution into the middle and inner ear where it can do permenant damage. while this is realitively rare it is a risk but temporary problems including vestibular problem ie balance, vertigo etc are not uncommon and a risk of trying to treat without consulting a vet.
Greenish discharge is often a bacterial infection and given the nature of such it is much better to deal with a vet with the proper antibiotics to deal with it.
a web search should provide you with a recipe for blue power or powder ear cleaner. it contain gentian violet and boric acid. if the ear are inflamed I would substitue witch hazel for the alcohol keep in mind many of the ingredients are ototoxic so you are using at your own risk but many people claim much better result than commercial available products for yeast infections.,