diff --git a/stable/mongodb-replicaset/Chart.yaml b/stable/mongodb-replicaset/Chart.yaml index fdb8cb17fe..da51322ce9 100644 --- a/stable/mongodb-replicaset/Chart.yaml +++ b/stable/mongodb-replicaset/Chart.yaml @@ -1,6 +1,6 @@ name: mongodb-replicaset home: https://github.com/mongodb/mongo -version: 3.6.1 +version: 3.6.2 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. diff --git a/stable/mongodb-replicaset/README.md b/stable/mongodb-replicaset/README.md index c791b5eb8a..0fb73fde51 100644 --- a/stable/mongodb-replicaset/README.md +++ b/stable/mongodb-replicaset/README.md @@ -137,7 +137,7 @@ configmap: port: 27017 ssl: mode: requireSSL - CAFile: /ca/tls.crt + CAFile: /data/configdb/tls.crt PEMKeyFile: /work-dir/mongo.pem replication: replSetName: rs0 diff --git a/stable/mongodb-replicaset/init/on-start.sh b/stable/mongodb-replicaset/init/on-start.sh index c18997a7f8..ba1bd3aa15 100644 --- a/stable/mongodb-replicaset/init/on-start.sh +++ b/stable/mongodb-replicaset/init/on-start.sh @@ -137,7 +137,7 @@ EOL # Generate the certs openssl genrsa -out mongo.key 2048 - openssl req -new -key mongo.key -out mongo.csr -subj "/CN=$my_hostname" -config openssl.cnf + openssl req -new -key mongo.key -out mongo.csr -subj "/OU=MongoDB/CN=$my_hostname" -config openssl.cnf openssl x509 -req -in mongo.csr \ -CA "$ca_crt" -CAkey "$ca_key" -CAcreateserial \ -out mongo.crt -days 3650 -extensions v3_req -extfile openssl.cnf