mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user