controllerinstallation

package
v1.57.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ControllerName is the name of this controller.
	ControllerName = "controllerinstallation"
)

Variables

View Source
var ManagedResourcesNamespace = v1beta1constants.GardenNamespace

ManagedResourcesNamespace is the namespace where the ControllerInstallationCare controller will look for ManagedResources. By default the `garden` namespace is used. Exposed for testing.

Functions

func NewCareReconciler added in v1.55.0

func NewCareReconciler(
	gardenClient, seedClient client.Client,
	config config.ControllerInstallationCareControllerConfiguration,
) reconcile.Reconciler

NewCareReconciler returns an implementation of reconcile.Reconciler which is dedicated to execute care operations

Types

type Controller

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

Controller controls ControllerInstallation.

func NewController

func NewController(
	ctx context.Context,
	log logr.Logger,
	gardenCluster cluster.Cluster,
	seedClientSet kubernetes.Interface,
	config *config.GardenletConfiguration,
	identity *gardencorev1beta1.Gardener,
	gardenNamespace *corev1.Namespace,
	gardenClusterIdentity string,
) (
	*Controller,
	error,
)

NewController instantiates a new ControllerInstallation controller.

func (*Controller) Run

func (c *Controller) Run(ctx context.Context, workers, careWorkers int)

Run runs the Controller until the given stop channel can be read from.

type HelmDeployment

type HelmDeployment struct {
	// Chart is a Helm chart tarball.
	Chart []byte `json:"chart,omitempty"`
	// Values is a map of values for the given chart.
	Values map[string]interface{} `json:"values,omitempty"`
}

HelmDeployment is a providerConfig specific type for ControllerInstallation.

Jump to

Keyboard shortcuts

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