flux

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package flux provides helpers for deploying Helm charts through Flux.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManageHelmRelease

func ManageHelmRelease(cluster objectmanager.Cluster, helmRelease *HelmRelease, opts ...Option) error

ManageResources manages flux resources in a cluster.

func Status

Status reports whether a Flux resource is terminating, ready, or progressing.

Types

type HelmRelease

type HelmRelease struct {
	// mandatory fields
	Name string
	// Namespace defines the target/storage namespace of the flux HelmRelease
	Namespace string
	// ChartSource contains the Helm chart and has to be an OCI repository in OpenControlPlane
	ChartSource OCIRepository
	// contains filtered or unexported fields
}

HelmRelease abstraction to create a Flux helm release

type OCIRepository

type OCIRepository struct {
	// mandatory fields
	Name         string
	ChartURL     string
	ChartVersion string
	// contains filtered or unexported fields
}

OCIRepository abstraction to create a Flux OCI repository

type Option

type Option func(*HelmRelease)

func WithChartPullSecret

func WithChartPullSecret(secret string) Option

func WithHelmReleaseInterval

func WithHelmReleaseInterval(interval time.Duration) Option

func WithKubeConfig

func WithKubeConfig(kubeconfig meta.KubeConfigReference) Option

func WithOCIRepoInterval

func WithOCIRepoInterval(interval time.Duration) Option

func WithValues

func WithValues(values *apiextensionsv1.JSON) Option

Jump to

Keyboard shortcuts

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