How to attach light pipe to plastic enclosure?

Hello,

How can a led pipe be attached to a plastic enclosure as shown in picture below,

ledpipeinenclosure.png

So far I am planning to just drill a hole in the enclosure using dimension from data sheet and gluing the pipe to plastic.

Thanks.

That’s how I’ve always done it, have never had any issues.