Skip to content

Commit

Permalink
Remove startup entry scan (#4449)
Browse files Browse the repository at this point in the history
Quite some time ago we added a scan to first warn and then eventually
delete entries with invalid SPIFFE IDs. This scan is no longer needed,
since entries will have already been removed by previous upgrades and
can be removed.

Signed-off-by: Andrew Harding <azdagron@gmail.com>
Co-authored-by: Marcos Yacob <marcos.yacob@hpe.com>
  • Loading branch information
azdagron and MarcosDY committed Aug 22, 2023
1 parent 6a3aeaa commit d57428a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 227 deletions.
72 changes: 0 additions & 72 deletions pkg/server/scanentries.go

This file was deleted.

154 changes: 0 additions & 154 deletions pkg/server/scanentries_test.go

This file was deleted.

1 change: 0 additions & 1 deletion pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ func (s *Server) run(ctx context.Context) (err error) {
registrationManager.Run,
bundlePublishingManager.Run,
util.SerialRun(s.waitForTestDial, healthChecker.ListenAndServe),
scanForBadEntries(s.config.Log, metrics, cat.GetDataStore()),
}

if s.config.LogReopener != nil {
Expand Down

0 comments on commit d57428a

Please sign in to comment.