Documentation
¶
Index ¶
Constants ¶
View Source
const ( Label = "helmcharts.helm.cattle.io/chart" Annotation = "helmcharts.helm.cattle.io/configHash" Unmanaged = "helmcharts.helm.cattle.io/unmanaged" ManagedBy = "helmcharts.cattle.io/managed-by" CRDName = "helmcharts.helm.cattle.io" ConfigCRDName = "helmchartconfigs.helm.cattle.io" TaintExternalCloudProvider = "node.cloudprovider.kubernetes.io/uninitialized" LabelNodeRolePrefix = "node-role.kubernetes.io/" LabelControlPlaneSuffix = "control-plane" LabelEtcdSuffix = "etcd" FailurePolicyReinstall = "reinstall" FailurePolicyAbort = "abort" )
Variables ¶
View Source
var ( DefaultJobImage = "rancher/klipper-helm:v0.8.0-build20230510" DefaultFailurePolicy = FailurePolicyReinstall )
Functions ¶
func Register ¶
func Register(ctx context.Context, systemNamespace, managedBy string, k8s kubernetes.Interface, apply apply.Apply, recorder record.EventRecorder, helms helmcontroller.HelmChartController, helmCache helmcontroller.HelmChartCache, confs helmcontroller.HelmChartConfigController, confCache helmcontroller.HelmChartConfigCache, jobs batchcontroller.JobController, jobCache batchcontroller.JobCache, crbs rbaccontroller.ClusterRoleBindingController, sas corecontroller.ServiceAccountController, cm corecontroller.ConfigMapController, s corecontroller.SecretController)
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)
Click to show internal directories.
Click to hide internal directories.