sbaugher / arangodb-kubernetes

Running ArangoDB Inside of Kubernetes
Apache License 2.0
37 stars 11 forks source link

Securing DB? #4

Open OKNoah opened 5 years ago

OKNoah commented 5 years ago

The newer yaml file method works great, but requires no auth. I've tried changing this to use a password from a secret, but this no longer worked at all. I also tried setting a root password, then setting ARANGO_NO_AUTH to "0" and re-running apply, but still no login screen shows.

OKNoah commented 5 years ago

I managed to change the config a bit to make it require a password. However, things to note are that I don't think arg changes are applied with Kubectl apply, or at least they don't restart the server. You also have to supply a jwt token. Also, I'm not sure the supplied password is actually applied. You may have to sign in with an empty password the first time.

Anyway, I made this gist: https://gist.github.com/OKNoah/647a1df06ec71684b611a3aeab1d0d54