e3w
e3w copied to clipboard
Default docker container prefixes all keys with "e3w_test"
I just added e3w to my Kubernetes deploy, and was a little confused that I couldn't see any keys in etcd. Then I tried adding a couple of keys:
And looked for them in etcd:
# ETCDCTL_API=3 etcdctl --endpoints=localhost:2379 get --prefix ""
e3w_test/abcd
test
e3w_test/test
{test:2, foo: "bar"}
Looks like everything is prefixed with "e3w_test" by default, which seems like a weird default.
Is there any way I can clear this default without generating a new config file? An environment variable or something? I'd rather not create a config map just for this. :P
Or maybe the default should be no prefix when you bring up a clean docker image?
Oh... And if I set the root key to "", I get:
panic: root key should not be empty or end with /
Why can't I see all my keys? :P