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

Implement local.FilesystemStore #9

Closed
GeorgeMac opened this issue Jul 20, 2023 · 0 comments · Fixed by #21
Closed

Implement local.FilesystemStore #9

GeorgeMac opened this issue Jul 20, 2023 · 0 comments · Fixed by #21

Comments

@GeorgeMac
Copy link
Contributor

GeorgeMac commented Jul 20, 2023

This issues tracks the work required to build a local FilesystemStore for the pkg/api package.

This source is primarily useful for local evaluation / development experience.
This storage implementation works directly on the underlying target filesystem.
There are no proposals made during an update, just direct and immediate effect change.

The implementation should be super straight-forward and we can simply just pass the path to the location on the actual filesystem.

The store should be configurable such that, in theory, multiple directories could be named in configuration.

sources:
  flipt:
    type: local
    local:
      path: "/projects/flipt"
  cup:
    type: local
    local:
      path: "/projects/cup"

Ultimately, these manifest as API Server sources:

/apis/flipt/...

/apis/cup/...
@GeorgeMac GeorgeMac changed the title Implement Local Source Implement local.FilesystemStore Jul 21, 2023
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 a pull request may close this issue.

1 participant