Documentation ¶
Index ¶
- Variables
- func ConstructHelmReleaseName(appName, compName string) string
- func GetChartValuesJSONSchema(ctx context.Context, h *common.Helm) ([]byte, error)
- func RenderHelmReleaseAndHelmRepo(helmSpec *common.Helm, compName, appName, ns string, ...) (*unstructured.Unstructured, *unstructured.Unstructured, error)
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
ConstructHelmReleaseName will format helm release name in a fixed way
func GetChartValuesJSONSchema ¶
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.
Click to show internal directories.
Click to hide internal directories.