Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (9 loc) · 953 Bytes

dev_setup.md

File metadata and controls

14 lines (9 loc) · 953 Bytes

Development setup

Prerequisites

For development you will need to install 2 tools: kubebuilder(run make kubebuilder) and kustomize(run make kustomize).

For running and testing locally this provider you will need to install and run mini-lab. Follow instructions in README to run it. It will provide Kubernetes cluster where Cluster API components will be installed and virtual environment.

Updating API

Our API conforms to rules described in kubebuilder book, please read it first before making any changes to that.

After making changes to API resources, run make generate to update generated code in /api directory. Then run make crds to update CRD manifests stored in /config/resources/crd/bases/.

Testing

Run make test.