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 ManageResources ¶
func ManageResources(config ResourceConfig) error
ManageResources registers an OCIRepository and dependent HelmRelease on a cluster.
func Status ¶
func Status(object client.Object) objectmanager.ManagedObjectStatus
Status reports whether a Flux resource is terminating, ready, or progressing.
Types ¶
type ResourceConfig ¶
type ResourceConfig struct {
Cluster objectmanager.Cluster
Namespace string
Interval time.Duration
KubeConfig *meta.KubeConfigReference
Version ResourceVersion
OCIRepositoryName string
HelmReleaseName string
}
ResourceConfig configures the Flux resources for a Helm chart.
type ResourceVersion ¶
type ResourceVersion interface {
GetChartVersion() string
GetChartURL() string
GetChartPullSecret() string
GetHelmValues() *apiextensionsv1.JSON
}
ResourceVersion describes the version information required for a Flux-managed chart.
func NewResourceVersion ¶
func NewResourceVersion(chartVersion, chartURL, chartPullSecret string, helmValues *apiextensionsv1.JSON) ResourceVersion
NewResourceVersion creates a ResourceVersion for callers without a CRD-backed version type.
Click to show internal directories.
Click to hide internal directories.