git2kube
git2kube copied to clipboard
Config files to multiple configmaps
From my testing it looks as though git2kube can place multiple config files into a single configmap. It would be great if individual configmaps could be created per config file.
Example: web-dev.txt
creates- web-dev (configmap name) data: (contents of web-dev.txt)
rinse and repeat for other files.
How the api (flags) should look like? Stripping the extension of the file might not be general enough, maybe some template for the cfgmap name?
Stripping the extension from the file name places naming of data entries cleanly in the users hands with zero disruption to existing environments. Templating this would likely disrupt this and require more work on the user to conform to the template. Even applications in Kubernetes would likely have to change to pull the correct data from the config map.