chore: improvements to local development for easier use of lagoon #3710
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
General Checklist
Database Migrations
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:
metallb
andcert-manager
into k3dmetallb
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 etckubernetes.io/tls-acme
annotation is presentmake 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".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 stackmake k3d/get-lagoon-details
will return more useful information that allows someone that has runmake k3d/setup
to access this lagoon quicker (it would be nice if we could seed some user accounts like this)