Documentation
¶
Overview ¶
Package chart embeds the educates-installer Helm chart into the CLI binary. The chart files are copied from installer/charts/educates-installer/ by the `make embed-installer-chart` target (and refreshed from the same source whenever the chart changes).
The duplication is intentional: go:embed paths cannot escape the containing package, and committing the copy makes builds reproducible without a pre-build hook. The Makefile target and `make verify-installer-chart` catch drift.
Index ¶
Constants ¶
const Name = "educates-installer"
Name is the helm chart name. Matches files/Chart.yaml.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load reads the embedded operator chart and returns a parsed *chart.Chart ready to pass to helm install/upgrade actions.
helm.sh/helm/v4 doesn't expose a fs.FS-aware loader, so we walk the embedded files and hand them to LoadFiles as BufferedFile entries with chart-root-relative names (Chart.yaml, templates/foo.yaml, ...).
Types ¶
This section is empty.