[consul-template] export all files in consul using consul template

I have a folder config/ that contains multiple keys such A/file, B/file and has json data I want to get those files in a volumemount for a pod using consul template

You could take a look at consul-template/docs/templating-language.md at main · hashicorp/consul-template · GitHub to see if that gets you started.

If you want your content in different files, you can check out the consul-template/docs/templating-language.md at main · hashicorp/consul-template · GitHub directive to see if that does what you want. Good luck!