Skip to content

feat: add index config#140

Open
blairdrummond wants to merge 4 commits intonsmith5:mainfrom
liatrio:starting-index
Open

feat: add index config#140
blairdrummond wants to merge 4 commits intonsmith5:mainfrom
liatrio:starting-index

Conversation

@blairdrummond
Copy link

@blairdrummond blairdrummond commented Apr 25, 2023

By default rekor-sidekick follows the tail of the Rekor log. This probably makes sense in most use-cases, but if we're mirroring attestations out to a searchable database, or testing on a self-hosted Rekor instance (which is receiving less traffic) it's helpful to be able to replay the whole Rekor instance or replay it from a certain point.

The new index configuration, when set to -1 (default) just follows the Rekor instance like before, but if you set it to a value >=0, then it replays rekor from that index.

  • Each commit is signed off (using the DCO). You can ensure this is the case by adding the -s flag when you commit code.
  • All tests are passing (ensure this locally before pushing code with go test ./...)

Blair Drummond added 4 commits April 25, 2023 11:15
Signed-off-by: Blair Drummond <blaird@liatrio.com>
Signed-off-by: Blair Drummond <blaird@liatrio.com>
Signed-off-by: Blair Drummond <blaird@liatrio.com>
Signed-off-by: Blair Drummond <blaird@liatrio.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant