Skip to main content

Crate gen_crds

Crate gen_crds 

Source
Expand description

Emit every hyprstream CRD as YAML into crates/hyprstream-k8s/crds/ and into the Helm chart’s charts/hyprstream/crds/ (Helm installs that directory before any template; the files there cannot be templated).

Run with cargo run -p hyprstream-k8s --bin gen-crds. The emitted files are committed in both locations; CI (or a developer) re-runs this after changing a schema, and the committed_yaml_matches_generated test fails if either copy is stale. No cluster is required — the CRDs are derived purely from the Rust types.

Functions§

main 🔒