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

Remove black magic from ConfigMap generation #253

Open
jmaupetit opened this issue Feb 18, 2019 · 0 comments
Open

Remove black magic from ConfigMap generation #253

jmaupetit opened this issue Feb 18, 2019 · 0 comments
Assignees

Comments

@jmaupetit
Copy link
Contributor

Purpose

ConfigMap objects generation is too convoluted: by default, we inject files configuration to a ConfigMap for every file in a _configs service template path, and, if there is an _env.yml.j2 file in a service templates path, we now create a config map that will be considered as environment variables for a service. These conventions add too much complexity/fragility to objects definitions.

Proposal

As we did for routes, I think we must explicitly switch to cm_*.yml.j2 files definitions for every applications/services. A service should be considered as self-consistent: one should NOT read our playbooks to understand which (and how) objects will be created for an application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant