Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 2.48 KB

File metadata and controls

57 lines (44 loc) · 2.48 KB

Development Guide

Prerequisite

Developer quick start

  • Setup GIT_HOST to override the setting for your custom path.
export GIT_HOST=github.com/<YOUR_GITHUB_ID>
  • Install golangci-lint
brew install golangci/tap/golangci-lint
  • Install kubebuilder Follow instruction here to install kubebuilder

  • Run the linter and test before building the binary.

make check
make test
make build
  • Build and push the docker image for local development.
export IMG=<YOUR_CUSTOMIZED_IMAGE_NAME>
export REGISTRY=<YOUR_CUSTOMIZED_IMAGE_REGISTRY>
make build-push-images

Note: You need to login the docker registry before running the command above.