A kubebuilder based controller to run Makefiles inside a cluster.
The idea is to shrink-wrap configuration into docker images, deploy them onto a cluster (optionally mutating the config) and then run make targets inside the cluster.
So multiple clusters can be supported from the same container with the resource mutated with kustomize
| Platform | CI Status | Coverage | Report Card | Documentation |
|---|---|---|---|---|
| linux |
- Load the CRD defintion
- Run the controller on your cluster
- add kmake.mk to your
Makefile - Convert your
Makefileinto yaml with pymake -y - Add the yaml into your
kmakedefinition - Load the definition into your cluster
- Create
kmake-rundefinitions - Run the definitions into your cluster
kmake creates:-
- a persistent volume claim
- an env config map of any variables in the
Makefile - a config map containing the target part of the
Makefileas yaml and a reducedMakefile
A first run of kmake-run will populate the PVC from the source docker image using the target defined in kmake.mk
- Write
kmake-runcontroller - Improve the readme ;)
- Write some tests