addon

package
v1.3.2-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, management *config.Management, _ config.Options) error

Types

type Handler

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

func (*Handler) MonitorAddonPerStatus added in v1.2.0

func (h *Handler) MonitorAddonPerStatus(_ string, aObj *harvesterv1.Addon) (*harvesterv1.Addon, error)

MonitorAddonPerStatus will track the OnChange on addon, route actions per addon status

func (*Handler) MonitorAddonRancherMonitoring added in v1.2.0

func (h *Handler) MonitorAddonRancherMonitoring(_ string, aObj *harvesterv1.Addon) (*harvesterv1.Addon, error)

MonitorAddonRancherMonitoring will track status change of rancher-monitroing addon

func (*Handler) PatchApps added in v1.2.0

func (h *Handler) PatchApps(key string, app *catalogv1.App) (*catalogv1.App, error)

PatchApps will watch apps.catalog.cattle.io and patch Charts.yaml with additional annotation 'catalog.cattle.io/managed' this is needed to ensure that addons cannot be upgrade directly from the apps with rancher mcm enabled on harvester

func (*Handler) ReconcileHelmChartOwners

func (h *Handler) ReconcileHelmChartOwners(_ string, _ string, obj runtime.Object) ([]relatedresource.Key, error)

downstream helmchart change will also trigger Addon OnChange

Jump to

Keyboard shortcuts

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