Deploy node red on Kubernetes with custom settings.js

Hi guys,
What is the easiest way to deploy node red docker on K8 using custom settings.js and some additional files? One way that i can think of is to first create a persistent volume and paste the files on to it, and then mount it with node red deployment. This seems like a very messy process. Can someone suggest a quick and easy way?

Please don't cross post the same question to multiple places, most of the time it will be the same people answering them.

Answered on Stack Overflow here

Also asked on Reddit here: