For my factory awning one that was pulling away, I used black RTV (Permatex). Stuff holds up to anything, can't see it up there and can be removed if you ever need to. I am sure there are other products/ideas out there, but I always have some of that laying around and it was laying there when I saw the light strip pulling away.
2014-3950, Full Paint, 17.5" tires, 370W solar, 3100W Magnum inverter w/ AGS, 7500w diesel generator, Micro-Air Easy Start 364 (x3)
2019 Ram 3500 Limited w/ Max Tow pkg