IAPMO ANSI LC 1 ● CSA 6.26, “Fuel gas piping systems using corrugated
stainless steel tubing”
Section 4.7 (q) CSST shall not be directly routed into a metallic gas appliance enclosure utilizing a metallic vent that penetrates a roofline. The CSST connection shall be made outside of the metallic gas appliance enclosure to a section of rigid metallic pipe, stub‐out, or termination fittings.
So the question becomes, does it have a metallic vent that penetrates a roofline?
If yes then it’s not allowed.
It also looks like the 180 degree bend is too tight.