Documentation ¶
Overview ¶
Package helm contains operations for working with helm charts.
Package helm contains operations for working with helm charts.
Package helm contains operations for working with helm charts.
Package helm contains operations for working with helm charts.
Package helm contains operations for working with helm charts.
Package helm contains operations for working with helm charts.
Index ¶
- func FindAnnotatedImagesForChart(chartPath string, values chartutil.Values) (images []string, err error)
- func StandardName(destination string, chart types.ZarfChart) string
- type ChartImages
- type Helm
- func (h *Helm) Destroy(purgeAllZarfInstallations bool)
- func (h *Helm) DownloadChartFromGitToTemp(spinner *message.Spinner) (string, error)
- func (h *Helm) DownloadPublishedChart(destination string)
- func (h *Helm) GenerateChart(manifest types.ZarfManifest) error
- func (h *Helm) InstallOrUpgradeChart() (types.ConnectStrings, string, error)
- func (h *Helm) PackageChart(destination string) error
- func (h *Helm) PackageChartFromGit(destination string) (string, error)
- func (h *Helm) PackageChartFromLocalFiles(destination string) (string, error)
- func (h *Helm) RemoveChart(namespace string, name string, spinner *message.Spinner) error
- func (h *Helm) TemplateChart() (string, chartutil.Values, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChartImages ¶ added in v0.25.0
type ChartImages []struct { // Name of the image. Name string `yaml:"name"` // Image with tag. Image string `yaml:"image"` // Condition specifies the values to determine if the image is included or not. Condition string `yaml:"condition"` // Dependency is the subchart that contains the image, if empty its the parent chart. Dependency string `yaml:"dependency"` }
ChartImages captures the structure of the helm.sh/images annotation within the Helm chart.
type Helm ¶
type Helm struct { BasePath string Chart types.ZarfChart ReleaseName string ChartLoadOverride string ChartOverride *chart.Chart ValueOverride map[string]any Component types.ZarfComponent Cluster *cluster.Cluster Cfg *types.PackagerConfig KubeVersion string Settings *cli.EnvSettings // contains filtered or unexported fields }
Helm is a config object for working with helm charts.
func (*Helm) Destroy ¶
Destroy removes ZarfInitPackage charts from the cluster and optionally all Zarf-installed charts.
func (*Helm) DownloadChartFromGitToTemp ¶ added in v0.26.4
DownloadChartFromGitToTemp downloads a chart from git into a temp directory
func (*Helm) DownloadPublishedChart ¶
DownloadPublishedChart loads a specific chart version from a remote repo.
func (*Helm) GenerateChart ¶
func (h *Helm) GenerateChart(manifest types.ZarfManifest) error
GenerateChart generates a helm chart for a given Zarf manifest.
func (*Helm) InstallOrUpgradeChart ¶
func (h *Helm) InstallOrUpgradeChart() (types.ConnectStrings, string, error)
InstallOrUpgradeChart performs a helm install of the given chart.
func (*Helm) PackageChart ¶ added in v0.28.3
PackageChart creates a chart archive from a path to a chart on the host os and builds chart dependencies
func (*Helm) PackageChartFromGit ¶ added in v0.25.0
PackageChartFromGit is a special implementation of chart archiving that supports the https://p1.dso.mil/#/products/big-bang/ model.
func (*Helm) PackageChartFromLocalFiles ¶ added in v0.25.0
PackageChartFromLocalFiles creates a chart archive from a path to a chart on the host os.
func (*Helm) RemoveChart ¶
RemoveChart removes a chart from the cluster.