helm

package
v0.1.84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL