Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct {
Name string
Namespace string
LintMode bool
// HelmLibOverrides replaces the data of helper templates living under a
// chart's templates/ directory, keyed by the template's base file name
// (e.g. "_module_image.tpl"). It lets dmt inject deterministic stubs for the
// helm_lib helpers so image and module-name references resolve to stable
// values during linting. Overrides are applied to the chart and all of its
// dependencies.
HelmLibOverrides map[string][]byte
}
func (Renderer) RenderChartFromDir ¶
func (r Renderer) RenderChartFromDir(chartDir string, values map[string]any) (map[string]string, error)
RenderChartFromDir renders the chart located at chartDir with nelm's chart engine using the provided render values (the top-level context holding .Release, .Capabilities and .Values). It returns a map of chart-relative source file path to the rendered manifests.
Click to show internal directories.
Click to hide internal directories.