Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
370 changes: 0 additions & 370 deletions cmd/controller/domain-migration.go

This file was deleted.

14 changes: 0 additions & 14 deletions cmd/controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,6 @@ func main() {
OnStartedLeading: func(ctx context.Context) {
klog.InfoS("Started leading: ", LeaseLockName, leaseLockId)

migrationDone := make(chan bool, 1)
go func() {
migrationDone <- migrateToDomainRefs(crdClient, istioClient, certClient, certManagerClient, dnsClient)
}()
if !<-migrationDone {
klog.Errorf("Migration failed; not starting controller")
os.Exit(1)
}

checkDone := make(chan bool, 1)
go checkGUID(checkDone, coreClient, crdClient)
<-checkDone
klog.InfoS("check & update of subscriptionGUID label done")

c := controller.NewController(coreClient, crdClient, istioClient, certClient, certManagerClient, dnsClient, promClient)
// Update the controller's concurrency config before starting the controller
maps.Copy(controller.DefaultConcurrentReconciles, concurrencyConfig)
Expand Down
Loading
Loading