Is there a way to recursively go through a folder and from that make a configmap? Or is it on the roadmap?
Use case is to mount all files in a folder (and its subfolders) into a container as a volume.
'kubectl -f foldername/' supports the --recursive option.
But it seems
'kubectl create configmap' does not.
Is there another way to mount a bunch of folders with files in them into a container in such way that it is mounted on any container running the app on any node available.
Note I'm not using GCE or AWS or any public cloud provider..this is all internal, so no ability to use that type of volume mounting. Host mounts also won't work since then each host needs to have those folders there.. . I'd really like the functionality configmaps provide but then recursively.
Looking forward hearing your feedback, suggestions.
Thanks!
Ced