remove the legacy identity manager (#5528)

This commit is contained in:
Kenneth Jenkins 2025-03-17 11:59:02 -07:00 committed by GitHub
parent bdfc17d1ce
commit 562101ae03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 4 additions and 1482 deletions

View file

@ -43,7 +43,6 @@ import (
"github.com/pomerium/pomerium/pkg/envoy"
"github.com/pomerium/pomerium/pkg/grpc/databroker"
"github.com/pomerium/pomerium/pkg/health"
"github.com/pomerium/pomerium/pkg/identity/legacymanager"
"github.com/pomerium/pomerium/pkg/identity/manager"
"github.com/pomerium/pomerium/pkg/netutil"
"github.com/pomerium/pomerium/pkg/slices"
@ -612,8 +611,7 @@ func (e *environment) Start() {
pomerium.WithOverrideFileManager(fileMgr),
pomerium.WithEnvoyServerOptions(envoy.WithExitGracePeriod(30 * time.Second)),
pomerium.WithDataBrokerServerOptions(
databroker_service.WithManagerOptions(manager.WithLeaseTTL(1*time.Second)),
databroker_service.WithLegacyManagerOptions(legacymanager.WithLeaseTTL(1*time.Second)),
databroker_service.WithManagerOptions(manager.WithLeaseTTL(1 * time.Second)),
),
}
envoyBinaryPath := filepath.Join(e.workspaceFolder, fmt.Sprintf("pkg/envoy/files/envoy-%s-%s", runtime.GOOS, runtime.GOARCH))