Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Latest commit

 

History

History
117 lines (78 loc) · 1.67 KB

development.md

File metadata and controls

117 lines (78 loc) · 1.67 KB

Development Guide

Technology stack required for development

Build

$ make

Run locally

You need an active session open to a kubernetes cluster.

Optionally, run kind and deploy kuadrant deps

$ make local-env-setup

Then, run the controller locally

$ make run

Deploy the controller in a deployment object

$ make local-setup

List of tasks done by the command above:

  • Create local cluster using kind
  • Build kuadrant docker image from the current working directory
  • Deploy Kuadrant control plane (including istio, authorino and limitador)

Cleaning up

$ make local-cleanup

Run tests

Unittests

$ make test-unit

Integration tests

You need an active session open to a kubernetes cluster.

Optionally, run kind and deploy kuadrant deps

$ make local-env-setup

Run integration tests

$ make test-integration

All tests

You need an active session open to a kubernetes cluster.

Optionally, run kind and deploy kuadrant deps

$ make local-env-setup

Run all tests

$ make test

Lint tests

$ make run-lint

(Un)Install Kuadrant CRDs

You need an active session open to a kubernetes cluster.

$ make install

Remove CRDs

$ make uninstall