Documentation ¶
Overview ¶
Package cniapplicationinstallationcontroller contains a controller that watches Cluster resources, and if the CNI for the Cluster is managed by the Applications infra, reconciles ApplicationInstallation Resources in the user cluster with necessary CNI configuration in ApplicationInstallation's Values.
Index ¶
- Constants
- func Add(ctx context.Context, mgr manager.Manager, numWorkers int, workerName string, ...) error
- func ApplicationInstallationReconciler(cluster *kubermaticv1.Cluster, overwriteRegistry string, ...) reconciling.NamedApplicationInstallationReconcilerFactory
- type Reconciler
- type UserClusterClientProvider
Constants ¶
View Source
const (
ControllerName = "kkp-cni-application-installation-controller"
)
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(ctx context.Context, mgr manager.Manager, numWorkers int, workerName string, systemAppEnforceInterval int, userClusterConnectionProvider UserClusterClientProvider, log *zap.SugaredLogger, versions kubermatic.Versions, overwriteRegistry string) error
func ApplicationInstallationReconciler ¶
func ApplicationInstallationReconciler(cluster *kubermaticv1.Cluster, overwriteRegistry string, initialValues map[string]any) reconciling.NamedApplicationInstallationReconcilerFactory
Types ¶
type Reconciler ¶
type Reconciler struct { ctrlruntimeclient.Client // contains filtered or unexported fields }
type UserClusterClientProvider ¶
type UserClusterClientProvider interface {
GetClient(ctx context.Context, c *kubermaticv1.Cluster, options ...clusterclient.ConfigOption) (ctrlruntimeclient.Client, error)
}
UserClusterClientProvider provides functionality to get a user cluster client.
Click to show internal directories.
Click to hide internal directories.