mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
use mdb-instance-0 as default name for configuring users
This commit is contained in:
parent
4c6ac6bd19
commit
98c939bd29
@ -10,8 +10,7 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ -z $1 ] && echo "Please specify MongoDB instance name!!"
|
||||
MONGODB_INSTANCE_NAME=$1
|
||||
MONGODB_INSTANCE_NAME="mdb-instance-0"
|
||||
|
||||
if [[ -n "$MONGODB_INSTANCE_NAME" ]]; then
|
||||
/usr/local/bin/kubectl exec -it "${MONGODB_INSTANCE_NAME}"\-ss\-0 -- bash -c "/usr/bin/mongo --host localhost --port \$(printenv MONGODB_PORT) --ssl --sslCAFile /etc/mongod/ca/ca.pem --sslPEMKeyFile /etc/mongod/ssl/mdb-instance.pem < /configure_mdb_users.js"
|
||||
|
Loading…
x
Reference in New Issue
Block a user