Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config files to multiple configmaps #26

Open
mward29 opened this issue Apr 10, 2019 · 2 comments
Open

Config files to multiple configmaps #26

mward29 opened this issue Apr 10, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mward29
Copy link

mward29 commented Apr 10, 2019

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.

@coufalja coufalja added the enhancement New feature or request label May 6, 2019
@coufalja
Copy link
Contributor

coufalja commented May 6, 2019

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?

@coufalja coufalja self-assigned this May 6, 2019
@coufalja coufalja added this to the v0.0.4 milestone May 6, 2019
@mward29
Copy link
Author

mward29 commented May 6, 2019

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.

@coufalja coufalja modified the milestones: v0.0.4, v0.0.5 Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants