Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add index config #140

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

blairdrummond
Copy link
Contributor

@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 ./...)

Signed-off-by: Blair Drummond <[email protected]>
Signed-off-by: Blair Drummond <[email protected]>
Signed-off-by: Blair Drummond <[email protected]>
Signed-off-by: Blair Drummond <[email protected]>
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