Provisioning: Build and use repository factory in repository controller (#110585)

Build and use repository factory
This commit is contained in:
Roberto Jiménez Sánchez
2025-09-04 13:12:56 +02:00
committed by GitHub
parent 145a50be4d
commit 3d009ff7ed
3 changed files with 120 additions and 8 deletions
@@ -50,6 +50,7 @@ func RunRepoController(opts standalone.BuildInfo, c *cli.Context, cfg *setting.C
controller, err := controller.NewRepositoryController(
controllerCfg.provisioningClient.ProvisioningV0alpha1(),
repoInformer,
controllerCfg.repoFactory,
)
if err != nil {
return fmt.Errorf("failed to create repository controller: %w", err)