Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.82 KB

CONTRIBUTING.md

File metadata and controls

58 lines (38 loc) · 1.82 KB

Contributing guidelines

Sign the CLA

Kubernetes projects require that you sign a Contributor License Agreement (CLA) before we can accept your pull requests. Please see https://git.k8s.io/community/CLA.md for more info

Contributing A Patch

  1. Submit an issue describing your proposed change to the repo in question.
  2. The repo owners will respond to your issue promptly.
  3. If your proposed change is accepted, and you haven't already done so, sign a Contributor License Agreement (see details above).
  4. Fork the desired repo, develop and test your code changes.
  5. Submit a pull request.

How to build kubebuilder locally

Setup:

  • Download google container builder
  • Export GOOS (darwin/linux) and GOARCH (amd64) vars to match the system to build
  • Export OUTPUT to a location to write the directory containing the final build artifacts
export GOOS=darwin
export GOARCH=amd64
export OUTPUT=/tmp/kubebuilder

Run container-builder:

container-builder-local --config=build/cloudbuild_local.yaml --dryrun=false \
  --substitutions=_GOOS=$GOOS,_GOARCH=$GOARCH --write-workspace=$OUTPUT .

Extract tar.gz from $OUTPUT to /usr/local

Running kubebuilder tests

go test ./pkg/...

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this project at:

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.