Skip to content

Commit

Permalink
Merge pull request rancher#4 from crobby/migrateatstart
Browse files Browse the repository at this point in the history
Add guid migration to rancher startup
  • Loading branch information
nflynt authored Aug 4, 2023
2 parents 30c9f64 + 6c352a5 commit 7e620d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/multiclustermanager/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package multiclustermanager

import (
"context"
"github.com/rancher/rancher/pkg/agent/clean"
"net/http"
"os"
"sync"
Expand Down Expand Up @@ -213,6 +214,7 @@ func (m *mcm) Start(ctx context.Context) error {
return errors.Wrap(err, "failed to telemetry")
}

clean.ListAdUsers(&m.ScaledContext.RESTConfig)
tokens.StartPurgeDaemon(ctx, management)
providerrefresh.StartRefreshDaemon(ctx, m.ScaledContext, management)
managementdata.CleanupOrphanedSystemUsers(ctx, management)
Expand Down

0 comments on commit 7e620d5

Please sign in to comment.