RC with external MongoDB creates a DB name "test"


RC deployed in K8S with external MongoDB creates a database named “test” ignoring the value set in the mongodb.auth.databases.

Server Setup Information

  • Version of Rocket.Chat Server: 6.5.3
  • Operating System: Linux
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 14.21.3 - x64
  • MongoDB Version: 6.0.13
  • Proxy: no
  • Firewalls involved: no

Any additional Information

The MongoDB secrets are passed through ExistingMongodbSecret
The values file contains the mongodb setup:
enabled: false
- dbname

1 Like

Found out that name of the database is the one you specify in the MongoURI. If no DB name it is creating one named “test”.