e3w icon indicating copy to clipboard operation
e3w copied to clipboard

Default docker container prefixes all keys with "e3w_test"

Open jwalton opened this issue 5 years ago • 1 comments

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:

image

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?

jwalton avatar Oct 09 '19 14:10 jwalton

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

jwalton avatar Oct 09 '19 14:10 jwalton