Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Road to first class routes in lagoon api #2827

Closed
Schnitzel opened this issue Sep 1, 2021 · 2 comments
Closed

Road to first class routes in lagoon api #2827

Schnitzel opened this issue Sep 1, 2021 · 2 comments
Assignees

Comments

@Schnitzel
Copy link
Contributor

  1. create new lagoon environment variable which expects a json object the same structure as the routes key in the .lagoon.yml which is passed to lagoon-build-deploy pod and then merged with what is found in the .lagoon.yml for the environment. This is a bit risky but the easiest to implement.
  2. implement route objects in lagoon api and pass them to lagoon-build-deploy pod which then merges them
  3. Have lagoon-build-deploy fill route objects in lagoon api after a deployment and deprecate .lagoon.yml routes setting
  4. with new Lagoon Major Vesrion: Only use route objects in lagoon api and no longer deploy .lagoon.yml routes
@lind101
Copy link

lind101 commented Oct 4, 2021

Hey all,

We would love to see this implimented! Let me know if you need any help testing!

@shreddedbacon
Copy link
Member

We've discussed a proof of concept for getting this in by using an environment variable defined in the API that contains the data structure that would be passed to the build process to create them at the next deployment.

The idea will be that we will merge this into the existing .lagoon.yml some how to make sure that the existing process of creating routes through a build remain the same.

I'm working on if this is possible to do, as the .lagoon.yml structure isn't really ideal.

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants