Skip to content

About

Kapitan kadet generators in Python that render Kubernetes manifests and Terraform (Argo CD, Flux, Cilium, Talos and more) as cosign-attested OCI artifacts.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

304 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kadet-hub generators

Kapitan kadet generators published on kadet-hub.

Generator Renders
argocd (catalog) Argo CD Applications, ApplicationSets and AppProjects, with an in-cluster destination shorthand and one Application per target publishing a Kapitan topic, and opt-in Argo CD itself from its release manifest with a Kapitan config management plugin
calico (catalog) Tigera operator Installation, APIServer, ImageSet, and opt-in Goldmane and Whisker, with provider-aware CNI defaults; Calico projectcalico.org/v3 network policies, network sets, IP pools and BGP resources, with selector and port shorthands
certmanager (catalog) cert-manager Certificates, Issuers and ClusterIssuers with Let's Encrypt and CA bootstrap shorthands, and trust-manager Bundles
cilium (catalog) Cilium network policies with port and DNS shorthands, LB-IPAM pools and L2 announcement policies
cloudnative-pg (catalog) CloudNativePG Clusters, Databases, Poolers and backups through the Barman Cloud Plugin, with upstream sizing and backup defaults and checks for name and reference collisions
crossplane (catalog) Crossplane v2 Providers and Functions pinned by tag or digest, CompositeResourceDefinitions and pipeline Compositions with derived names and type refs, and provider ProviderConfigs referencing credentials by Secret name
docker (catalog) Dockerfiles, including multi-stage builds, with package-manager detection from the base image and package install ordered before the non-root user, and a Docker Compose file from the kubernetes generator's components that fails on keys without a Compose counterpart
external-secrets (catalog) External Secrets Operator SecretStores, ClusterSecretStores and ExternalSecrets
flux (catalog) Flux GitRepositories, OCIRepositories, HelmRepositories, Kustomizations and HelmReleases, with Flux's recommended intervals and a source shorthand that wires consumers to their sources
grafana (catalog) Grafana Operator instances, dashboards, folders, datasources, alert rules, contact points, notification policies and more, with instance selector defaults
ironcore (catalog) IronCore Machines, Volumes, Networks, NetworkInterfaces, VirtualIPs, LoadBalancers, NAT gateways and NetworkPolicies, with ipFamilies derived from IPs and no public exposure by default
k3d (catalog) k3d cluster configs (k3d.io/v1alpha5 Simple) with port, volume and env shorthands, and registries passed through
keda (catalog) KEDA ScaledObjects, ScaledJobs and TriggerAuthentications
keycloak (catalog) Keycloak Operator Keycloak instances, realm imports and OIDC and SAML clients, with database credential and CR reference defaults
kind (catalog) kind cluster configs (kind.x-k8s.io/v1alpha4), with kindest/node images pinned by digest from kubernetes_version
kmcp (catalog) kmcp MCPServers (kagent.dev/v1alpha1) with the transport and target-port defaults the controller requires, and secret refs for env
kserve (catalog) KServe InferenceServices, serving runtimes, inference graphs, trained models, storage containers, local model caches and LLMInferenceServices, with model-format and runtime container defaults
kubernetes (catalog) Kubernetes workloads from one component block: Deployment, StatefulSet, DaemonSet, Job or CronJob with Service, ConfigMaps, Secrets, Ingress or Gateway API routes, HPA, VPA, PDB, RBAC and NetworkPolicy, with matching selectors and restricted security profile
kubevirt (catalog) KubeVirt VirtualMachines, pools, snapshots, clones and the KubeVirt CR, CDI DataVolumes and DataSources, and the KubeVirt CSI driver for the infra and the tenant cluster
kyverno (catalog) Kyverno CEL policies (ValidatingPolicy, MutatingPolicy, GeneratingPolicy, DeletingPolicy, PolicyException) and the legacy ClusterPolicies, Policies and cleanup policies, with a match_kinds shorthand
linkerd (catalog) Linkerd Servers, AuthorizationPolicies, mTLS and network authentications, HTTPRoutes and ServiceProfiles with refs and group defaults
loki (catalog) Loki Operator LokiStacks with storage and schema defaults, and alerting and recording rules bound to their stack
multus (catalog) Multus CNI NetworkAttachmentDefinitions from structured CNI config, with a resource_name shorthand
mutate (catalog) Patches the output of an earlier compile entry, such as a rendered Helm chart, in place: merge with keyed list merge, JSON Patch, delete and image changes on exactly matched objects, failing when a mutation matches nothing
ocm (catalog) OCM component constructors for the new OCM CLI, with every container image of the compiled manifests as an ociImage resource, an access template for mirrors and pull-through caches, and inventory resources for the rest
opentelemetry-operator (catalog) OpenTelemetry Operator collectors, Instrumentations, TargetAllocators and OpAMPBridges, with target allocator wiring
prometheus-operator (catalog) Every Prometheus Operator CRD kube-prometheus-stack installs: Prometheus, PrometheusAgent, Alertmanager, ThanosRuler, ServiceMonitors, PodMonitors, PrometheusRules, Probes and ScrapeConfigs, with selector, port and storage shorthands and a kube-prometheus-stack release label
rabbitmq (catalog) RabbitMQ clusters, users, permissions, vhosts, queues, exchanges, policies, federations and shovels with cluster references
rook-ceph (catalog) Rook CephClusters, block pools, filesystems, object stores and users, NFS, RBD mirrors and clients, with the CRD-required defaults of the upstream examples
strimzi (catalog) Strimzi KRaft Kafka clusters with node pools, topics and users, with an internal mTLS listener, simple authorization and replication settings derived from the broker count
talos (catalog) Talos Linux 1.14 machine configs in the multi-document form, per node with control-plane and worker variants, and KubeVirt userdata Secrets
terraform-aws (catalog) Terraform JSON for AWS: VPC with derived subnets, routing and NAT, and hardened S3 buckets (hashicorp/aws 6.72.0)
terraform-azurerm (catalog) Terraform JSON for Azure: resource group, VNet with derived subnets, NSGs and associations, and hardened storage accounts with CAF names (hashicorp/azurerm 5.13.0)
terraform-google (catalog) Terraform JSON for Google Cloud: custom-mode VPC with subnets, Cloud NAT and baseline firewall, and hardened GCS buckets (hashicorp/google 8.10.0)
terraform-opentelekomcloud (catalog) Terraform JSON for Open Telekom Cloud: VPC with derived subnets, NAT gateway and SNAT, and KMS-encrypted OBS buckets (opentelekomcloud/opentelekomcloud 1.37.12)
tetragon (catalog) Tetragon TracingPolicies and TracingPolicyNamespaced, hooks in upstream CRD form
thanos (catalog) Thanos Operator ThanosQuery, Receive, Ruler, Store and Compact sharing one object storage setting
velero (catalog) Velero BackupStorageLocations, VolumeSnapshotLocations, Schedules, Backups and Restores

Each directory is one generator with its own manifest (kapitan-generator.yaml), changelog and fixture project under tests/fixtures. Releases are tagged <generator>-v<semver>. To use one, pin it by digest as described in Using marketplace generators; the registry itself is kadet-hub/registry.

./check <generator> runs the gate's static scan and sandbox compile locally (Linux x86-64 with docker, uv and yq; spec); the check workflow runs it for every generator a pull request changes. How to change a generator and get the change released is in CONTRIBUTING.md.

Upstream updates

The upstream workflow runs tools/upstream.py every Monday at 03:00 UTC and on dispatch. It compares each schemas/sources.yaml entry with the latest upstream release, opens or updates a pull request on upstream/<generator> for the groups whose schemas regenerate and pass ./check, and an issue [upstream] <generator>: <software> <version> for the rest (spec). GH_TOKEN=$(gh auth token) uv run --with pyyaml python3 tools/upstream.py --dry-run prints what it would open without writing anything.

The workflow needs a kadet-hub GitHub App installed on this repository with read and write access to contents, pull requests and issues. Its client ID and private key are the repository secrets APP_CLIENT_ID and APP_PRIVATE_KEY.

About

Kapitan kadet generators in Python that render Kubernetes manifests and Terraform (Argo CD, Flux, Cilium, Talos and more) as cosign-attested OCI artifacts.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages