-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allow variable mapping in lagoon-build #205
Comments
How does this work when I requested 2 mariadbs? |
I get the idea behind this, but I'm not sure how it could be built. The user would have to inform Lagoon somehow to craft these/this new variable from provided variables. If I requested a |
I think any mapper would have to live in code in the repo (lagoon.yml 🙊?), and be managed by the developer, so it would be on them. |
So this is currently possible using Is there a specific reason it has to be in the configmap? |
If the docker image isn't uselagoon/* we have no access to the entrypoints without hacking or rebuilding the image |
Ah yep, that makes sense. I'll have a think about this |
In order to better support non-lagoon based 12-factor apps, we should allow for the creation of variable maps in the build phase , so that the resultant variables are available on the lagoon-env configmap.
This step should occur prior to creating the deployment, but after all other (DBAAS) steps
Such an example might be for DB credentials - either as individual variables
or connstrings:
or configuring routes/hosts
etc etc
This is especially useful for images that have none of our entrypoints that would usually allow this conversion in .lagoon.env files
The text was updated successfully, but these errors were encountered: