Charmed MongoDB

Channel Revision Published Runs on
6/beta 149 17 Jan 2024
Ubuntu 22.04
6/edge 154 16 Feb 2024
Ubuntu 22.04
5/stable 117 20 Apr 2023
Ubuntu 22.04
5/candidate 117 20 Apr 2023
Ubuntu 22.04
5/edge 139 21 Nov 2023
Ubuntu 22.04
3.6/stable 100 28 Apr 2023
Ubuntu 20.04 Ubuntu 18.04
3.6/candidate 100 13 Apr 2023
Ubuntu 20.04 Ubuntu 18.04
3.6/edge 100 03 Feb 2023
Ubuntu 20.04 Ubuntu 18.04
juju deploy mongodb --channel 6/beta
Show information

Platform:

Ubuntu
22.04

How to manage related applications

New mongodb_client interface:

Relations to new applications are supported via the mongodb_client interface. To create a relation:

juju integrate mongodb application

To remove a relation:

juju remove-relation mongodb application

Legacy mongodb interface:

We have also added support for the database legacy relation from the original version of the charm via the mongodb interface. Currently legacy relations operate without authentication and hence cannot be used with pre-existing new relations. Please note that these relations will be deprecated.

juju integrate mongodb graylog

Rotate applications password

To rotate the passwords of users created for related applications, the relation should be removed and related again. That process will generate a new user and password for the application.

juju remove-relation application mongodb
juju integrate application mongodb

Internal operator user

The operator user is used internally by the Charmed MongoDB Operator, the set-password action can be used to rotate its password.

  • To set a specific password for the operator user
juju run mongodb/leader set-password password=<password>
  • To randomly generate a password for the operator user
juju run mongodb/leader set-password

Help improve this document in the forum (guidelines). Last updated 3 months ago.