Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GardenletDefaultKubeconfigSecretName is the default name for the field in the Gardenlet component configuration // .gardenClientConnection.KubeconfigSecret.Name GardenletDefaultKubeconfigSecretName = "gardenlet-kubeconfig" // GardenletDefaultKubeconfigBootstrapSecretName is the default name for the field in the Gardenlet component configuration // .gardenClientConnection.BootstrapKubeconfig.Name GardenletDefaultKubeconfigBootstrapSecretName = "gardenlet-kubeconfig-bootstrap" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actuator ¶
type Actuator interface { // Reconcile reconciles ManagedSeed creation or update. Reconcile(context.Context, *seedmanagementv1alpha1.ManagedSeed) (*seedmanagementv1alpha1.ManagedSeedStatus, bool, error) // Delete reconciles ManagedSeed deletion. Delete(context.Context, *seedmanagementv1alpha1.ManagedSeed) (*seedmanagementv1alpha1.ManagedSeedStatus, bool, bool, error) }
Actuator acts upon ManagedSeed resources.
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller controls ManagedSeeds.
func NewManagedSeedController ¶
func NewManagedSeedController(ctx context.Context, clientMap clientmap.ClientMap, config *config.GardenletConfiguration, imageVector imagevector.ImageVector, recorder record.EventRecorder, logger *logrus.Logger) (*Controller, error)
NewManagedSeedController creates a new Gardener controller for ManagedSeeds.
type ValuesHelper ¶
type ValuesHelper interface { // MergeGardenletDeployment merges the given GardenletDeployment with the values from the parent gardenlet. MergeGardenletDeployment(*seedmanagementv1alpha1.GardenletDeployment, *gardencorev1beta1.Shoot) (*seedmanagementv1alpha1.GardenletDeployment, error) // MergeGardenletConfiguration merges the given GardenletConfiguration with the parent GardenletConfiguration. MergeGardenletConfiguration(config *configv1alpha1.GardenletConfiguration) (*configv1alpha1.GardenletConfiguration, error) // GetGardenletChartValues computes the values to be used when applying the gardenlet chart. GetGardenletChartValues(*seedmanagementv1alpha1.GardenletDeployment, *configv1alpha1.GardenletConfiguration, string) (map[string]interface{}, error) }
ValuesHelper provides methods for merging GardenletDeployment and GardenletConfiguration with parent, as well as computing the values to be used when applying the gardenlet chart.
func NewValuesHelper ¶ added in v1.20.0
func NewValuesHelper(config *config.GardenletConfiguration, imageVector imagevector.ImageVector) ValuesHelper
NewValuesHelper creates a new ValuesHelper with the given parent GardenletConfiguration and image vector.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.