If you are donating the knitting for charity, most designers will let you use their patterns. They do ask that you list proper credit for the design and something like donated with permission from____- which is only fair.
Email them and ask.
Email them and ask.