helm

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateChartFromLocalFiles added in v0.22.0

func CreateChartFromLocalFiles(chart types.ZarfChart, destination string) string

CreateChartFromLocalFiles creates a chart archive from a path to a chart on the host os

func Destroy

func Destroy(purgeAllZarfInstallations bool)

func DownloadChartFromGit

func DownloadChartFromGit(chart types.ZarfChart, destination string) string

DownloadChartFromGit is a special implementation of chart downloads that support the https://p1.dso.mil/#/products/big-bang/ model

func DownloadPublishedChart

func DownloadPublishedChart(chart types.ZarfChart, destination string)

DownloadPublishedChart loads a specific chart version from a remote repo

func GenerateChart

func GenerateChart(basePath string, manifest types.ZarfManifest, component types.ZarfComponent) (types.ConnectStrings, string)

GenerateChart generates a helm chart for a given Zarf manifest.

func InstallOrUpgradeChart

func InstallOrUpgradeChart(options ChartOptions) (types.ConnectStrings, string)

InstallOrUpgradeChart performs a helm install of the given chart

func NewRenderer

func NewRenderer(options ChartOptions, actionConfig *action.Configuration) *renderer

func RemoveChart added in v0.20.0

func RemoveChart(namespace string, name string, spinner *message.Spinner) error

func StandardName

func StandardName(destination string, chart types.ZarfChart) string

StandardName generates a predictable full path for a helm chart for Zarf

func TemplateChart

func TemplateChart(options ChartOptions) (string, error)

TemplateChart generates a helm template from a given chart

Types

type ChartOptions

type ChartOptions struct {
	BasePath          string
	Chart             types.ZarfChart
	ReleaseName       string
	ChartLoadOverride string
	ChartOverride     *chart.Chart
	ValueOverride     map[string]any
	Component         types.ZarfComponent
}

Jump to

Keyboard shortcuts

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