generated from canonical/is-charms-template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcharmcraft.yaml
93 lines (91 loc) · 2.31 KB
/
charmcraft.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
type: charm
name: maubot
title: maubot
description: |
A Juju charm deploying and managing maubot on Kubernetes. Maubot is a
plugin-based Matrix bot system written in Python.
summary: An operator deploying and managing maubot.
links:
issues: https://github.com/canonical/maubot-operator/issues
source: https://github.com/canonical/maubot-operator
contact:
- https://launchpad.net/~canonical-is-devops
assumes:
- juju >= 3.4
base: [email protected]
build-base: [email protected]
config:
options:
public-url:
description: >-
Public base URL where the server is visible.
type: string
default: "https://maubot.local"
resources:
maubot-image:
type: oci-image
description: OCI image for maubot
containers:
maubot:
resource: maubot-image
mounts:
- storage: data
location: /data
parts:
charm:
build-packages:
- cargo
- libffi-dev
- libssl-dev
- pkg-config
- rustc
platforms:
amd64:
provides:
grafana-dashboard:
interface: grafana_dashboard
metrics-endpoint:
interface: prometheus_scrape
requires:
logging:
interface: loki_push_api
optional: true
limit: 1
matrix-auth:
interface: matrix_auth
limit: 1
postgresql:
interface: postgresql_client
limit: 1
ingress:
interface: ingress
storage:
data:
type: filesystem
actions:
create-admin:
description: Create administrator user to Maubot.
params:
name:
type: string
description: The name of the administrator user.
register-client-account:
description: Register Matrix client account for a bot. The result is user ID,
password, access token and device ID that should be used for registering a
client.
See Maubot documentation for more details.
https://docs.mau.fi/maubot/usage/basic.html#creating-clients
params:
admin-name:
type: string
description: The name of the administrator user that will be used for
creating the account.
admin-password:
type: string
description: The password of the administrator user that will be used
for creating the account.
account-name:
type: string
description: The Matrix account you want to use as a bot.