Expand description
Thin wrapper around the helm binary.
cgn-ctl install orchestrates a Cognitora install by invoking helm under
the hood. Rust’s ecosystem doesn’t have a real Helm SDK, but shelling
out is fine: helm is a single static Go binary, we ship it embedded
in our release tarballs, and the surface we use is stable.
Structs§
- Install
- Install or upgrade a chart (
helm upgrade --install).
Functions§
- locate_
helm - Locate the helm binary. Honours
$CGN_HELM_BIN, falls back to PATH lookup. - template
helm template ... | yqequivalent for offline rendering. Returns YAML.- template_
with_ values - Convenience: render
Vec<u8>of YAML for a chart from a serialisablevaluesstruct. Useful in tests andcgn-ctl install --dry-run. - uninstall
helm uninstall <release> -n <ns>.- version
helm version --shortround-trip, used bycgn-ctl preflight.