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.
Index ¶
- func DownloadChartFromGitToTemp(ctx context.Context, url string) (string, error)
- func FindAnnotatedImagesForChart(chartPath string, values chartutil.Values) (images []string, err error)
- func StandardName(destination string, chart v1alpha1.ZarfChart) string
- func StandardValuesName(destination string, chart v1alpha1.ZarfChart, idx int) string
- type ChartImages
- type Helm
- type Modifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadChartFromGitToTemp ¶
DownloadChartFromGitToTemp downloads a chart from git into a temp directory
func FindAnnotatedImagesForChart ¶
func FindAnnotatedImagesForChart(chartPath string, values chartutil.Values) (images []string, err error)
FindAnnotatedImagesForChart attempts to parse any image annotations found in a chart archive or directory.
func StandardName ¶
StandardName generates a predictable full path for a helm chart for Zarf.
Types ¶
type ChartImages ¶
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 {
// contains filtered or unexported fields
}
Helm is a config object for working with helm charts.
func (*Helm) PackageChartFromGit ¶
PackageChartFromGit is a special implementation of chart archiving that supports the https://p1.dso.mil/#/products/big-bang/ model. needed
func (*Helm) PackageChartFromLocalFiles ¶
PackageChartFromLocalFiles creates a chart archive from a path to a chart on the host os.