chart

package
v0.16.20-rc3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 34 Imported by: 6

Documentation

Index

Constants

View Source
const (
	SecretType    = "helmcharts.helm.cattle.io/values"
	CRDName       = "helmcharts.helm.cattle.io"
	ConfigCRDName = "helmchartconfigs.helm.cattle.io"

	TaintExternalCloudProvider = "node.cloudprovider.kubernetes.io/uninitialized"

	AnnotationChartURL   = "helm.cattle.io/chart-url"
	AnnotationConfigHash = "helmcharts.helm.cattle.io/configHash"
	AnnotationManagedBy  = "helmcharts.cattle.io/managed-by"
	AnnotationUnmanaged  = "helmcharts.helm.cattle.io/unmanaged"

	LabelChartName          = "helmcharts.helm.cattle.io/chart"
	LabelNodeRolePrefix     = "node-role.kubernetes.io/"
	LabelControlPlaneSuffix = "control-plane"
	LabelEtcdSuffix         = "etcd"

	FailurePolicyReinstall = "reinstall"
	FailurePolicyAbort     = "abort"
)

Variables

View Source
var (
	DefaultJobImage      = "rancher/klipper-helm:latest"
	DefaultFailurePolicy = FailurePolicyReinstall
)

Functions

Types

type Controller

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

func (*Controller) OnChange

func (c *Controller) OnChange(chart *v1.HelmChart, chartStatus v1.HelmChartStatus) ([]runtime.Object, v1.HelmChartStatus, error)

func (*Controller) OnRemove

func (c *Controller) OnRemove(key string, chart *v1.HelmChart) (*v1.HelmChart, error)

Jump to

Keyboard shortcuts

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