Documentation
¶
Index ¶
- Constants
- Variables
- func Register(ctx context.Context, apply apply.Apply, ...)
- type Controller
- func (c *Controller) OnConfChange(key string, conf *helmv1.HelmChartConfig) (*helmv1.HelmChartConfig, error)
- func (c *Controller) OnHelmChange(key string, chart *helmv1.HelmChart) (*helmv1.HelmChart, error)
- func (c *Controller) OnHelmRemove(key string, chart *helmv1.HelmChart) (*helmv1.HelmChart, error)
Constants ¶
View Source
const ( Label = "helmcharts.helm.cattle.io/chart" Annotation = "helmcharts.helm.cattle.io/configHash" CRDName = "helmcharts.helm.cattle.io" ConfigCRDName = "helmchartconfigs.helm.cattle.io" Name = "helm-controller" TaintExternalCloudProvider = "node.cloudprovider.kubernetes.io/uninitialized" LabelNodeRolePrefix = "node-role.kubernetes.io/" LabelControlPlaneSuffix = "control-plane" LabelEtcdSuffix = "etcd" )
Variables ¶
View Source
var (
DefaultJobImage = "rancher/klipper-helm:v0.6.7-build20211110"
)
Functions ¶
func Register ¶
func Register(ctx context.Context, apply apply.Apply, helms helmcontroller.HelmChartController, confs helmcontroller.HelmChartConfigController, jobs batchcontroller.JobController, crbs rbaccontroller.ClusterRoleBindingController, sas corecontroller.ServiceAccountController, cm corecontroller.ConfigMapController)
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) OnConfChange ¶
func (c *Controller) OnConfChange(key string, conf *helmv1.HelmChartConfig) (*helmv1.HelmChartConfig, error)
func (*Controller) OnHelmChange ¶
func (*Controller) OnHelmRemove ¶
Click to show internal directories.
Click to hide internal directories.