Closed kpaulisse closed 1 month ago
Hi @kpaulisse, thanks for the contribution!
Could you have a look at linting?
@alacuku Sure, I fixed the lint complaints and rebased this on the latest main
for you.
LGTM label has been added.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alacuku, kpaulisse
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
What this PR does / why we need it:
This PR adds a "local file" storage backend for the index file.
To keep consistent with the existing design, this is specified by
file:///some/directory/my-index.yaml
which allows the existing code to correctly guess the storage backend.I wrote a test covering the new backend as well.
Reason we need this: We want to use
falcoctl
in environments to help build configuration artifacts in environments that may not have internet access, so a local file works better for us.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: