Skip to main content
Work in Progress

You are viewing development documentation built from the latest commit on main (last tag v0.2.0-rc.2, source commit 25e1a892). APIs and features are subject to change.

Contributing

Kure is a Go library that describes a GitOps repository as a model and writes it as plain YAML. This section is for people who change it. Pick the route that matches your task.

Where to start

The Development Guide covers setup, the build, the tests and code quality. Releasing describes how a release is cut, and Dependency Updates how pinned dependencies are bumped. The CI jobs are in GitHub Workflows and Shared Workflows .

Find your way around the code

Read the architecture map first. It lists every package with what it owns, shows how data moves from a cluster model to files on disk, names the rules the code keeps and where each is enforced, and says where to start reading.

For the detail, use the Architecture reference, the domain model and the builder contract . The site’s API reference covers the packages, except pkg/gvk, pkg/stack/argocd and pkg/stack/helm: read their README.md in the repository.

Extend Kure

You want to addStart here
Support for a new Kubernetes kindAdding support for a new kind
A change to the domain modelExtending the domain model
A new GitOps workflowImplementing new GitOps workflows

Keep the documents in step

A change to a package updates that package’s README.md and any page that describes it, in the same pull request. A change that adds or moves a package also updates the Map in ARCHITECTURE.md.

Quick Start

# Clone the repository
git clone https://github.com/go-kure/kure.git
cd kure

# Install tools
make tools

# Run checks
make check

# Run full pre-commit validation
make precommit

Branch Workflow

main is protected. Create a feature branch:

git checkout -b feat/my-feature main
# make changes
git push -u origin feat/my-feature
gh pr create

Required CI checks: lint, test, build, pr-review / AI Code Review.