I use
3M 4200 Fast Cure marine sealant. It's made for this type of joint, holds up well and stays pliable. I end up buying the 3 oz tubes because I never finish the large tube and usually have to trash it after it hardens in the tube the next time I go to use it.