Skip to content

Commit

Permalink
Add guid migration to rancher startup
Browse files Browse the repository at this point in the history
  • Loading branch information
crobby committed Aug 2, 2023
1 parent 3de5aa3 commit 6c352a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/multiclustermanager/app.go
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 6c352a5

Please sign in to comment.