Documentation
¶
Overview ¶
Package render produces an entry's rendered/manifests.yaml: the vendored chart rendered with its discovery values, exactly as `helm template <name> <vendor dir> --namespace ... --kube-version ... --include-crds -f ...` would print it. The output is committed — PR diffs show what would change in-cluster, and image discovery runs against it — so assembly must stay byte-stable: it drives the same helm install action (client-side dry run) the helm CLI drives and reassembles manifest plus hooks the way the template command does.
The helm SDK pin is deliberate: rendering output can shift between helm versions, and the validate gate byte-compares regenerated output, so SDK upgrades are visible, reviewed events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Input ¶
type Input struct {
// ChartDir is the vendored chart directory (vendor/<chart name>).
ChartDir string
// ReleaseName is the helm release name; the mirror uses the chart
// name, matching `helm template <name> <dir>`.
ReleaseName string
// Namespace to render into.
Namespace string
// KubeVersion for .Capabilities.KubeVersion, e.g. "1.34.0".
KubeVersion string
// APIVersions are extra .Capabilities.APIVersions entries.
APIVersions []string
// ValuesFiles are merged in order, later files winning.
ValuesFiles []string
}
Input configures one render.