---
title: Charmhub | Deploy Osm Ha using Charmhub - The Open Operator Collection
description: Deploy the latest version of Osm Ha as a Kubernetes Operator on any cloud.
url: https://charmhub.io/osm-ha/configurations/mongodb-k8s
---

##### We've discontinued the registration of new Bundles

New Bundle registrations are no longer accepted. Existing bundles remain functional. We recommend using the Juju Terraform Provider for new deployments.

[Learn more](https://discourse.charmhub.io/t/discontinuing-new-charmhub-bundle-registrations/15344)

# Osm Ha

[Charmed Distribution of OSM](https://charmhub.io/publisher/charmed-osm "View all packages from Charmed Distribution of OSM")
| bundle

* [Charmed Distribution of OSM](https://charmhub.io/publisher/charmed-osm "View all packages from Charmed Distribution of OSM")
  | bundle

Platform:

stable 224

```
juju deploy osm-ha
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [Osm Grafana](https://charmhub.io/osm-ha/configurations/osm-grafana)
* [Nginx Ingress Integrator](https://charmhub.io/osm-ha/configurations/nginx-ingress-integrator)
* [Kafka K8S](https://charmhub.io/osm-ha/configurations/kafka-k8s)
* [Osm Keystone](https://charmhub.io/osm-ha/configurations/osm-keystone)
* [Osm Lcm](https://charmhub.io/osm-ha/configurations/osm-lcm)
* [Charmed Osm Mariadb K8S](https://charmhub.io/osm-ha/configurations/charmed-osm-mariadb-k8s)
* [Osm Mon](https://charmhub.io/osm-ha/configurations/osm-mon)
* [Mongodb K8S](https://charmhub.io/osm-ha/configurations/mongodb-k8s)
* [Osm Nbi](https://charmhub.io/osm-ha/configurations/osm-nbi)
* [Osm Ng Ui](https://charmhub.io/osm-ha/configurations/osm-ng-ui)
* [Osm Pol](https://charmhub.io/osm-ha/configurations/osm-pol)
* [Osm Prometheus](https://charmhub.io/osm-ha/configurations/osm-prometheus)
* [Osm Ro](https://charmhub.io/osm-ha/configurations/osm-ro)
* [Osm Vca Integrator](https://charmhub.io/osm-ha/configurations/osm-vca-integrator)
* [Zookeeper K8S](https://charmhub.io/osm-ha/configurations/zookeeper-k8s)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* 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.
