generated from canonical/is-charms-template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
180 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
type: charm | ||
name: maubot | ||
title: maubot | ||
description: | | ||
|
@@ -12,36 +13,27 @@ links: | |
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 | ||
storage: | ||
data: | ||
type: filesystem | ||
|
||
type: charm | ||
base: [email protected] | ||
build-base: [email protected] | ||
platforms: | ||
amd64: | ||
|
||
parts: | ||
charm: | ||
build-packages: | ||
|
@@ -50,13 +42,21 @@ parts: | |
- libssl-dev | ||
- pkg-config | ||
- rustc | ||
|
||
assumes: | ||
- juju >= 3.4 | ||
|
||
platforms: | ||
amd64: | ||
requires: | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters