ork generate

1 min read

Generate Orkestra components from one or more Katalog files.

ork generate <command> [flags]

The generate command group contains tools for producing CRDs, example CRs, runtime registries, documentation, dashboards, RBAC, ConfigMaps, installation bundles, and more.

Each generator reads one or more katalog.yaml files, merges them, and produces the requested artifacts.


Available Commands

CommandDescription
katalogScaffold a starter katalog.yaml for a new operator
crdGenerate Kubernetes CRDs from a Katalog
crGenerate example CustomResources for a CRD
registryGenerate zz_generated_runtime_registry.go for typed operators
docsGenerate Markdown documentation for all CRDs (in development)
dashboardsGenerate Grafana dashboards for all CRDs (in development)
rbacGenerate a minimal ClusterRole based on the Katalog
configmapGenerate a ConfigMap embedding a Katalog or Komposer
bundleGenerate a complete installation bundle (RBAC + ConfigMap)
allRun all generators (registry, docs, dashboards)

Shared Flags

Most generate subcommands support:

FlagDescription
-k, --file <file>One or more Katalog files (comma‑separated or repeated)
-o, --output <path>Write output to file or directory
-n, --namespace <name>Namespace for generated manifests (default: orkestra-system)
--dry-runPrint output to stdout without writing files