helm

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultIntervalDuration is the interval that flux controller reconcile HelmRelease and HelmRepository
	DefaultIntervalDuration = &metav1.Duration{Duration: 5 * time.Minute}
)

Functions

func ConstructHelmReleaseName added in v1.1.1

func ConstructHelmReleaseName(appName, compName string) string

ConstructHelmReleaseName will format helm release name in a fixed way

func GetChartValuesJSONSchema

func GetChartValuesJSONSchema(ctx context.Context, h *common.Helm) ([]byte, error)

GetChartValuesJSONSchema fetched the Chart bundle and get JSON schema of Values file. If the Chart provides a 'values.json.schema' file, use it directly. Otherwise, try to generate a JSON schema based on the Values file.

func RenderHelmReleaseAndHelmRepo

func RenderHelmReleaseAndHelmRepo(helmSpec *common.Helm, compName, appName, ns string, values map[string]interface{}) (*unstructured.Unstructured, *unstructured.Unstructured, error)

RenderHelmReleaseAndHelmRepo constructs HelmRelease and HelmRepository in unstructured format

Types

This section is empty.

Directories

Path Synopsis
Package apis contains typed structs from fluxcd/helm-controller and fluxcd/source-controller.
Package apis contains typed structs from fluxcd/helm-controller and fluxcd/source-controller.

Jump to

Keyboard shortcuts

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