There were a serious amount of wild fires around my cabin this year. It displaced a lot of bears and different bears kept stopping by. They never got any food from me and I ran off every one I saw.
To allow me to keep my cooler outside overnight, I turned it in to a bear box by adding hinges and a clasp to it with self drilling metal screws. I think a bear could still break into it, but I would hear him before he did and I could run him off before he was rewarded with food.