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

Add a readonly backend #236

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

donny-dont
Copy link

Create a backend which provides a read only view over another backend. This could be used to prevent a user from modifying a backend.

ConfigMap is expanded to support for nesting of configs.

@donny-dont
Copy link
Author

With the ability to specify nested configs this can be expanded to caching. So as an example if a file is present locally that one would be used but if its not then it would hit a cloud storage service cache it locally and return the file to the caller. This is similar to what's possible in https://github.com/spf13/afero.

I have that in a separate config that's dependent on having the nested configs. Let me know if this or the caching implementation is of interest to you all.

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