Charmed MongoDB
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
5/stable | 117 | 20 Apr 2023 | |
5/candidate | 117 | 20 Apr 2023 | |
5/edge | 127 | 19 Sep 2023 | |
3.6/stable | 100 | 28 Apr 2023 | |
3.6/candidate | 100 | 13 Apr 2023 | |
3.6/edge | 100 | 03 Feb 2023 |
juju deploy mongodb --channel 5/stable
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
charms.mongodb.v0.mongodb_tls
-
- Last updated 03 May 2023
- Revision Library version 0.5
In this class we manage client database relations.
This class creates user and database for each application relation and expose needed information for client connection via fields in external relation.
Index
class MongoDBTLS
Description
In this class we manage client database relations. None
Methods
MongoDBTLS. __init__( self , charm , peer_relation , substrate )
Description
Manager of MongoDB client relations. None
MongoDBTLS. get_tls_files( self , scope: str )
Prepare TLS files in special MongoDB way.
Description
MongoDB needs two files: — CA file should have a full chain. — PEM file should have private key and certificate without certificate chain.
MongoDBTLS. get_host( self , unit: Unit )
Description
Retrieves the hostname of the unit based on the substrate. None