-
Notifications
You must be signed in to change notification settings - Fork 15
/
metadata.yaml
71 lines (67 loc) · 1.86 KB
/
metadata.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.
name: mongodb-k8s
display-name: |
Charmed Operator for MongoDB
description: |
MongoDB is a general purpose distributed document database. This
charm deploys and operates MongoDB on kubernetes Clusters. It
supports replicated MongoDB databases.
summary: A MongoDB operator charm for Kubernetes
docs: https://discourse.charmhub.io/t/charmed-mongodb-6-k8s-docs/10265
source: https://github.com/canonical/mongodb-k8s-operator
issues: https://github.com/canonical/mongodb-k8s-operator/issues
website:
- https://ubuntu.com/data/mongodb
- https://charmhub.io/mongodb-k8s
- https://github.com/canonical/mongodb-k8s-operator
- https://chat.charmhub.io/charmhub/channels/data-platform
peers:
database-peers:
interface: mongodb-peers
provides:
database:
interface: mongodb_client
obsolete:
interface: mongodb
metrics-endpoint:
interface: prometheus_scrape
grafana-dashboard:
interface: grafana_dashboard
config-server:
interface: shards
cluster:
interface: config-server
requires:
certificates:
interface: tls-certificates
limit: 1
logging:
interface: loki_push_api
limit: 1
optional: true
s3-credentials:
interface: s3
sharding:
interface: shards
# shards can only relate to one config-server
limit: 1
containers:
mongod:
resource: mongodb-image
mounts:
- storage: mongodb
location: /var/lib/mongodb
resources:
mongodb-image:
type: oci-image
description: OCI image for mongodb
# TODO: Update sha whenever upstream rock changes
upstream-source: ghcr.io/canonical/charmed-mongodb@sha256:b4b3edb805b20de471da57802643bfadbf979f112d738bc540ab148d145ddcfe
storage:
mongodb:
type: filesystem
location: /var/lib/mongodb
mongodb-logs:
type: filesystem
location: /var/log/mongodb