Documentation ¶
Overview ¶
Package initialapplicationinstallationcontroller contains a controller that watches Cluster resources that have the InitialApplicationInstallations annotation. The controller creates ApplicationInstallation Resources from the annotation and reconciles them in the user cluster, once the cluster has become ready
The annotation for the initial Applications is put there by the REST API's create-cluster endpoint.
Index ¶
Constants ¶
View Source
const (
ControllerName = "kkp-initial-application-installation-controller"
)
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(ctx context.Context, mgr manager.Manager, numWorkers int, workerName string, seedGetter provider.SeedGetter, userClusterConnectionProvider UserClusterClientProvider, log *zap.SugaredLogger, versions kubermatic.Versions) error
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.