auth: register auth controllers with the server (#19000)

This commit is contained in:
Iryna Shustava 2023-09-25 16:54:03 -06:00 committed by GitHub
parent 3ea6afb4d4
commit 06c15d0656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ import (
"sync/atomic"
"time"
"github.com/hashicorp/consul/internal/auth"
"github.com/hashicorp/consul/internal/mesh"
"github.com/hashicorp/consul/internal/resource"
@ -934,6 +935,8 @@ func (s *Server) registerControllers(deps Deps, proxyUpdater ProxyUpdater) error
DefaultAllow: defaultAllow,
ProxyUpdater: proxyUpdater,
})
auth.RegisterControllers(s.controllerManager, auth.DefaultControllerDependencies())
}
reaper.RegisterControllers(s.controllerManager)