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

daemon: add kvstore-opt flag for kvstore config #767

Merged
merged 1 commit into from
May 19, 2017
Merged

Conversation

ianvernon
Copy link
Member

@ianvernon ianvernon commented May 19, 2017

Add kvstore-opt flag, which maps a key (configuration flag) to a value.
This results in only needing one flag in the CLI for key-value store
related configuration, as opposed to many different flags for each
different key-value. If any key is provided that maps to a different
key-value store than the key-value store provided to the CLI, the daemon
exits. We also ensure that the user-provided flags are supported flags;
if the flag is not supported, the daemon exits. Remove the consul,
etcd-config-path, etcd flags as valid options for the daemon.

Signed-off by: Ian Vernon ian@covalent.io

Fixes: #623

@ianvernon ianvernon added this to the 0.9 milestone May 19, 2017
@ianvernon ianvernon requested review from tgraf and aanm May 19, 2017 18:43
Add kvstore-opt flag, which maps a key (configuration flag) to a value.
This results in only needing one flag in the CLI for key-value store
related configuration, as opposed to many different flags for each
different key-value. If any key is provided that maps to a different
key-value store than the key-value store provided to the CLI, the daemon
exits. We also ensure that the user-provided flags are supported flags;
if the flag is not supported, the daemon exits. Remove the consul,
etcd-config-path, etcd flags as valid options for the daemon.

Signed-off by: Ian Vernon <ian@covalent.io>
@tgraf tgraf merged commit 1fecccf into master May 19, 2017
@tgraf tgraf deleted the 623-kvstore-opts branch May 19, 2017 21:38
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.

None yet

2 participants