Documentation

Overview

Package engine provides an implementation of Helm's templating engine required for a Helm operator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOwnerRefEngine

func NewOwnerRefEngine(baseEngine environment.Engine, refs []metav1.OwnerReference) environment.Engine

NewOwnerRefEngine creates a new OwnerRef engine with a set of metav1.OwnerReferences to be added to assets

Types

type OwnerRefEngine

type OwnerRefEngine struct {
	environment.Engine
	// contains filtered or unexported fields
}

OwnerRefEngine wraps a tiller Render engine, adding ownerrefs to rendered assets

func (*OwnerRefEngine) Render

func (o *OwnerRefEngine) Render(chart *chart.Chart, values chartutil.Values) (map[string]string, error)

Render proxies to the wrapped Render engine and then adds ownerRefs to each rendered file

Source Files