addons

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HelmReleaseNameHashLabel = "addons.cluster.x-k8s.io/helm-release-name-hash"
	ClusterNamespaceLabel    = clusterv1.ClusterNamespaceAnnotation
)

Functions

func NewHelmAddonApplier

func NewHelmAddonApplier(
	config *HelmAddonConfig,
	client ctrlclient.Client,
	helmChart *lifecycleconfig.HelmChart,
) *helmAddonApplier

Types

type Applier

type Applier interface {
	Apply(
		ctx context.Context,
		cluster *clusterv1.Cluster,
		defaultsNamespace string,
		log logr.Logger,
	) error
}

type HelmAddonConfig

type HelmAddonConfig struct {
	// contains filtered or unexported fields
}

func NewHelmAddonConfig

func NewHelmAddonConfig(
	defaultValuesTemplateConfigMapName string,
	defaultHelmReleaseNamespace string,
	defaultHelmReleaseName string,
) *HelmAddonConfig

func (*HelmAddonConfig) AddFlags

func (c *HelmAddonConfig) AddFlags(prefix string, flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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