Documentation
¶
Index ¶
Constants ¶
View Source
const ( ReleaseType = "helm.sh/release.v1" SecretType = "helmcharts.helm.cattle.io/values" CRDName = "helmcharts.helm.cattle.io" ConfigCRDName = "helmchartconfigs.helm.cattle.io" TaintExternalCloudProvider = "node.cloudprovider.kubernetes.io/uninitialized" KeyConfigHash = "helmcharts.helm.cattle.io/configHash" AnnotationChartURL = "helm.cattle.io/chart-url" AnnotationManagedBy = "helmcharts.cattle.io/managed-by" AnnotationUnmanaged = "helmcharts.helm.cattle.io/unmanaged" AnnotationReplaceWait = "helmcharts.helm.cattle.io/replace-wait" LabelChartName = "helmcharts.helm.cattle.io/chart" LabelNodeRolePrefix = "node-role.kubernetes.io/" LabelControlPlaneSuffix = "control-plane" LabelEtcdSuffix = "etcd" // DO NOT USE THIS // These are only to be used by the test framework, where we need to create // jobs that the core Kubernetes job controller will not act on. AnnotationJobManager = "helmcharts.helm.cattle.io/job-manager" DefaultJobManager = "kubernetes.io/job-controller" )
Variables ¶
View Source
var ( DefaultJobImage = "rancher/klipper-helm:latest" JobTolerations []corev1.Toleration JobResources *corev1.ResourceRequirements )
Functions ¶
func Register ¶
func Register( ctx context.Context, systemNamespace, managedBy, jobClusterRole string, apiServerPort string, apply apply.Apply, recorder record.EventRecorder, batch batchcontroller.Interface, core corecontroller.Interface, helm helmcontroller.Interface, rbac rbaccontroller.Interface, )
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) OnChange ¶
func (c *Controller) OnChange(chart *v1.HelmChart, chartStatus v1.HelmChartStatus) (v1.HelmChartStatus, error)
Click to show internal directories.
Click to hide internal directories.