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 ¶
func Status(object client.Object) objectmanager.ManagedObjectStatus
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 WithHelmReleaseInterval ¶
func WithKubeConfig ¶
func WithKubeConfig(kubeconfig meta.KubeConfigReference) Option
func WithOCIRepoInterval ¶
func WithValues ¶
func WithValues(values *apiextensionsv1.JSON) Option
Click to show internal directories.
Click to hide internal directories.