mongodb-k8s

Charmed Operator for MongoDB

Channel Revision Published Runs on
6/stable 81 20 Aug 2025
Ubuntu 22.04
6/candidate 81 20 Aug 2025
Ubuntu 22.04
6/beta 81 20 Aug 2025
Ubuntu 22.04
6/edge 81 20 Aug 2025
Ubuntu 22.04
8-transition/edge 78 15 Aug 2025
Ubuntu 24.04
8/candidate 80 07 Aug 2025
Ubuntu 24.04
8/beta 80 07 Aug 2025
Ubuntu 24.04
8/edge 80 06 Aug 2025
Ubuntu 24.04
5/edge 39 14 Dec 2023
Ubuntu 22.04
juju deploy mongodb-k8s --channel 6/stable --trust
Show information

Platform:

Learn about configurations >

  • auto-delete | boolean

    When a relation is removed, auto-delete ensures that any relevant databases associated with the relation are also removed

  • ldap-query-template | string

    A RFC4516 formatted LDAP query URL template, which is used for authorization. It must contain either {USER} representing the authenticated user, or {PROVIDED_USER} representing the supplied username (before authentication or LDAP transformation). {PROVIDED_USER} should be used only if no value in the ldap-user-to-do-mapping config option is provided. If this configuration is not provided, a default string will be computed based on the base_dn returned by the GLAuth k8s charm. example: “dc=example,dc=com??sub?(&(objectClass=groupOfNames)(member={USER}))"

  • ldap-user-to-dn-mapping | string

    A quote-enclosed JSON-string representing an ordered array of documents. Each document contains a regular expression match and either a substitution or ldapQuery template used for transforming the incoming username. Since the list is ordered, this order can be used to provide fine-grained tuning for building the right DN or the right ldapQuery for the user. example: '[{ match : "([^@]+)@([^@\.]+)\.example\.com", substitution: "CN={0},CN=Users,DC={1},DC=example,DC=com" }]'

  • role | string

    Default: replication

    role config option exists to deploy the charmed-mongodb application as a shard, config-server, or as a replica set.