Skip to content
kadet-hubPublic

Repository files navigation

kadet-hub registry

OpenSSF Scorecard

Reviewed Kapitan generators and Kubernetes app recipes, published as attested OCI artifacts that you pin by digest.

Try Kapitan in the playground: it compiles an inventory in your browser, with nothing to install.

Generators and recipes

A generator is a reusable kadet module, the Python input type of Kapitan. It reads a block of inventory parameters and writes many files, such as every resource of an operator or Terraform JSON for a cloud provider. Each listed version passed a gate of scans, a sandboxed fixture compile and a maintainer's review, and is published as an attested OCI artifact under ghcr.io/kadet-hub/<name>.

A recipe is a set of inventory classes that installs one application or operator with these generators. It rebuilds the project's Helm chart, release manifest or Docker Compose file, or is designed on its container image when the project ships none of these. The same release workflow publishes it under ghcr.io/kadet-hub/recipes/<name>, with a proof level that says how far CI tested it.

Coming from Helm, the recipe takes the place of the chart and a Kapitan target takes the place of values.yaml. The target can override any value the recipe's classes set, not only the ones a template exposes.

Helm Kapitan with kadet-hub Guide
Environments a base and an environment values file per app a target per environment that includes shared classes, merged in the order listed Helm vs Kustomize vs Kapitan
A field the chart does not template fork the chart, or patch the rendered manifests with a post-renderer or Kustomize the mutate generator rewrites the rendered files in compiled/, where the patched YAML is readable in a pull request Patch a Helm chart without forking it
Releases helm install, upgrade and rollback keep a release history in the cluster no release: Kapitan writes files that you apply with kubectl, Argo CD or Flux Helm vs Kustomize vs Kapitan

Quickstart

This compiles the uptime-kuma recipe on your machine, without a cluster. It needs uv. Kapitan 0.36.3 needs the pins of the install command, as docs/consumers.md explains:

uv tool install --python 3.13 --with omegaconf==2.4.0.dev4 --with oras 'kapitan[omegaconf,reclass-rs]==0.36.3'

The project selects the omegaconf inventory backend, and the target includes the recipe:

mkdir -p uptime-kuma/fetch/targets uptime-kuma/inventory/targets
cd uptime-kuma
cat > .kapitan <<'EOF'
global:
  inventory-backend: omegaconf
EOF
cat > inventory/targets/uptime-kuma.yml <<'EOF'
classes:
  - recipes.uptime-kuma
parameters:
  namespace: uptime-kuma
  kapitan:
    vars:
      target: uptime-kuma
EOF

Save the fetch inventory from the recipe page's Fetching it section as fetch/targets/recipes.yml. It pins the latest version by digest, and the same section has the gh attestation verify command for that digest. Then compile:

kapitan compile --inventory-path fetch --fetch --output-path .
kapitan compile --fetch

The first command fetches the recipe and exits with status 1, because the fetch target compiles nothing. The second fetches the kubernetes generator the recipe pins and writes a StatefulSet and a Service to compiled/uptime-kuma/manifests/. --fetch checks neither digests nor attestations, and the generator runs with your environment and credentials. The consumer workflow verifies what it fetches and compiles in the gVisor sandbox the gate uses. The quickstart on the site continues to a running app on kind.

Recipes and the catalog

Recipes include cert-manager, Keycloak, CloudNativePG, Strimzi, Immich, Vaultwarden, Nextcloud, Home Assistant, Paperless-ngx and Open WebUI. Each has a page under kadet-hub.org/recipes with its fetch inventory and the commands that compile it. Their source is kadet-hub/recipes.

kadet-hub is a community project and is not affiliated with or endorsed by the Kapitan project or kapicorp. Listed generators are the work of their authors. The marketplace is offered free of charge, as is and on a best-effort basis: use it at your own risk, and review the compiled output before you apply it (TERMS.md).

How changes are reviewed

neat-bot reviews the pull requests. It is an automated reviewer, not a person. Its review either approves the head commit or leaves one comment per finding. A pull request merges only after neat-bot approved its current head commit. The author fixes each finding or answers it in its thread, then asks for a new review. Every push, also an update from main, needs a new approval. neat-bot works through a queue that can lag by hours, so a merge can wait for it. The rulesets do not enforce this, because neat-bot has read access only. It is the process the maintainer follows.

No second person reviews the maintainer's own changes or those coding agents make for the maintainer. They merge through the maintainer's admin bypass once neat-bot approved. Pull requests from anyone else also need the maintainer's approval. Renovate merges most of its own dependency updates once every check passed, without neat-bot. The rules are in docs/specs/gate.md.

Releases

Packages

Used by

Contributors

Languages