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

chore: improvements to local development for easier use of lagoon #3710

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

shreddedbacon
Copy link
Member

@shreddedbacon shreddedbacon commented Apr 15, 2024

General Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

Database Migrations

  • If your PR contains a database migation, it MUST be the latest in date order alphabetically

Just restructuring the make file to make local experience better. The main changes are in the charts repo which is where a lot of the main make logic lives.

Key things:

  • installs metallb and cert-manager into k3d
    • metallb allows for creating loadbalancers in k3d that get their own dedicated IP address within the docker network of k3d. this means users don't have to add :32080 or :32443 to ingress etc
    • cert-manager will provision self-signed certificates when the kubernetes.io/tls-acme annotation is present
  • make k3d/setup will now spin up a k3d and install lagoon to an operational point. this lets someone spin up lagoon to a point where they can basically "just use it".
  • new make k3d/local-stack will create a k3d cluster, install lagoon, load some seed data and seed users and present credentials to log in and start using it straight away in a fully functional local stack
  • new make k3d/get-lagoon-details will return more useful information that allows someone that has run make k3d/setup to access this lagoon quicker (it would be nice if we could seed some user accounts like this)
  • mac users: https://github.com/chipmk/docker-mac-net-connect mac users can use this to allow access to the services created using metallb
  • all the docker-compose deployed versions will also get the seed users added now too

@shreddedbacon shreddedbacon force-pushed the local-restructuring branch 12 times, most recently from 55535d5 to dafa2ba Compare April 21, 2024 22:44
@shreddedbacon shreddedbacon marked this pull request as ready for review April 23, 2024 21:39
@shreddedbacon shreddedbacon changed the title chore: restructure local dev to use metallb and certmanager chore: improvements to local development for easier use of lagoon Apr 23, 2024
@shreddedbacon shreddedbacon added this to the 2.20.0 milestone Jun 6, 2024
Copy link
Member

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great - I'll make the changes to the charts to accommodate it

@tobybellwood tobybellwood merged commit a769bc7 into main Jun 13, 2024
2 checks passed
@tobybellwood tobybellwood deleted the local-restructuring branch June 13, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants