2.2kw water-cooled spindle: powering 12V DC water pump and radiator fan via VFD?

Got it all set up now. I used two $10 buck converters to reduce the 24v to 12v and power my radiator fan and pump (one buck converter for each). I might have been able to use one buck converter for both but I was unsure and they were cheap so I just got two of them.
I wired the buck converters to the VFD +24v output with DCM being the common/negative. From each buck converters output side I ran wires through the left Y axis drag chain and to the center of the gantry where I mounted my radiator and cooler pump. Now they are automatically powered on with the VFD and I don’t need tubes and a power cord running down to a bucket or something sitting on the floor. I highly recommend this setup.
Thanks everyone for your replies!