fix(soot): typo on params for service name and namespace

This commit is contained in:
Dario Tranchitella
2022-12-19 10:03:12 +01:00
parent 723fa1aea6
commit c6abe03fd1
2 changed files with 3 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ func NewCmd(scheme *runtime.Scheme) *cobra.Command {
if err = (&soot.Manager{
MigrateCABundle: webhookCABundle,
MigrateServiceName: managerServiceName,
MigrateServiceNamespace: managerServiceName,
MigrateServiceNamespace: managerNamespace,
AdminClient: mgr.GetClient(),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to set up soot manager")

View File

@@ -186,8 +186,8 @@ func (m *Manager) Reconcile(ctx context.Context, request reconcile.Request) (res
// Register all the controllers of the soot here:
//
migrate := &controllers.Migrate{
WebhookNamespace: m.MigrateServiceName,
WebhookServiceName: m.MigrateServiceNamespace,
WebhookNamespace: m.MigrateServiceNamespace,
WebhookServiceName: m.MigrateServiceName,
WebhookCABundle: m.MigrateCABundle,
GetTenantControlPlaneFunc: m.retrieveTenantControlPlane(tcpCtx, request),
}