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

Feature Request: Loading initial configuration from static files #514

Open
ozomer opened this issue Sep 3, 2018 · 0 comments
Open

Feature Request: Loading initial configuration from static files #514

ozomer opened this issue Sep 3, 2018 · 0 comments

Comments

@ozomer
Copy link

ozomer commented Sep 3, 2018

This is a Feature Proposal

Following the docs one approach for storage is "just config files, reloaded on file change". This could be very useful if the configuration does not change very often, and should be based on some static file-storage, source-control or configmap. In such case the embedded etcd could be good enough, but it is still not easy to load the static configuration whenever the container starts.
Please add a flag like '-load ' to load an initial configuration from some mounted json/yaml file. This file should describe all the functions and subscriptions that needs to be created.
Other solutions could be:

  • Using the entire serverless platform and deploying with the serverless cli.
  • Injecting the configuration whenever the container loads, using a separated container.
  • Dumping the embedded-etcd to a file and mounting it when the container loads.
    All of these solutions seem to me as heavy to lift, especially for a small projects that needs to forward few simple events.

Thanks

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

No branches or pull requests

1 participant