helm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(cluster *k8t.Cluster, dir string, values Value) error

Install helm chart to cluster from given directory, with provided values. This is simple less-verbose version of InstallWithOpts

func InstallWithOpts

func InstallWithOpts(cluster *k8t.Cluster, dir string, values Value, opts InstallOpts) error

install helm chart from given directory and with given values to cluster

Types

type InstallOpts

type InstallOpts struct {

	// here you can pass your context. It it's not set, the default
	// context.Background() will be used
	Context context.Context

	// if it's not set, the helm's name is used
	ReleaseName string

	// namespace where helm will be installed. If it's not set, the
	// cluster's default test namespace will be used
	Namespace string

	// it's oposite of replace. Tests are different than production helm
	// installments. For testing, we want replace content by default.
	DontReplace bool
	// contains filtered or unexported fields
}

type Value

type Value map[string]any

represents helm value used by installation

Jump to

Keyboard shortcuts

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