Getting Started
In this guide, we'll go over the development process for the Beamlit Controller.
Prerequisites
- Go 1.23+
- Docker
- kubectl
- helm 3.8.0+
- kind with kubernetes 1.31+ (for local development)
Setting up the development environment
-
Clone the repository:
-
Build the gateway Docker image:
-
Build the controller Docker image:
-
Create a local Kubernetes cluster using KinD:
-
Load the Docker images into the KinD cluster:
-
Modify the Helm chart to use the local images and run:
Testing
To run the tests, simply run:
Code generation
The controller uses controller-gen to generate the CRD and webhook manifests. To generate the manifests, run:
Contributing
Please read our contributing guidelines before submitting a pull request.