Skip to content

Commit

Permalink
Remove startup entry scan (spiffe#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>
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
  • Loading branch information
2 people authored and faisal-memon committed Sep 12, 2023
1 parent 32392bf commit dbd24b1
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 dbd24b1

Please sign in to comment.