Improve documentation regarding authentication. (#3903)

I spend some time figuring out why my credentials weren't working, this
small piece of information would have been very welcome.
This commit is contained in:
Tim Stoop
2018-02-28 12:17:46 -08:00
committed by k8s-ci-robot
parent c6969c3f7a
commit 90129b8d60
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: mongodb-replicaset
home: https://github.com/mongodb/mongo
version: 2.3.0
version: 2.3.1
appVersion: 3.6
description: NoSQL document-oriented database that stores JSON-like documents with
dynamic schemas, simplifying the integration of data in content-driven applications.
+7 -4
View File
@@ -91,10 +91,13 @@ Once you have all 3 nodes in running, you can run the "test.sh" script in this d
## Authentication
By default, this chart creates a MongoDB replica set without authentication. Authentication can be enabled using the
parameter `auth.enabled`. Once enabled, keyfile access control is set up and an admin user with root privileges
is created. User credentials and keyfile may be specified directly. Alternatively, existing secrets may be provided.
The secret for the admin user must contain the keys `user` and `password`, that for the key file must contain `key.txt`.
By default, this chart creates a MongoDB replica set without authentication. Authentication can be
enabled using the parameter `auth.enabled`. Once enabled, keyfile access control is set up and an
admin user with root privileges is created. User credentials and keyfile may be specified directly.
Alternatively, existing secrets may be provided. The secret for the admin user must contain the
keys `user` and `password`, that for the key file must contain `key.txt`. The user is created with
full `root` permissions but is restricted to the `admin` database for security purposes. It can be
used to create additional users with more specific permissions.
## TLS support