generated from canonical/is-charms-template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcharmcraft.yaml
109 lines (97 loc) · 2.25 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.
name: penpot
title: Penpot
description: |
A Juju charm deploying and managing Penpot on Kubernetes. Penpot is the
web-based open-source design tool that bridges the gap between designers
and developers.
summary: An operator deploying and managing Penpot.
links:
issues: https://github.com/canonical/penpot-operator/issues
source: https://github.com/canonical/penpot-operator
contact:
- https://launchpad.net/~canonical-is-devops
config:
options:
smtp-from-address:
description: >-
The default "from" address penpot uses to send emails.
If unspecified, it is automatically derived from the SMTP integration, typically `<user>@<domain>`,
or `no-reply@<domain>` if the SMTP username is not provided in the SMTP integration.
For more detailed information on SMTP integration, visit https://charmhub.io/smtp-integrator/configuration.
type: string
actions:
create-profile:
description: Create a new penpot user.
params:
email:
type: string
fullname:
type: string
delete-profile:
description: Delete an existing penpot user.
params:
email:
type: string
peers:
penpot_peer:
interface: penpot_peer
requires:
postgresql:
interface: postgresql_client
limit: 1
redis:
interface: redis
limit: 1
s3:
interface: s3
limit: 1
ingress:
interface: ingress
limit: 1
smtp:
interface: smtp
limit: 1
optional: true
oauth:
interface: oauth
limit: 1
optional: true
logging:
interface: loki_push_api
optional: true
provides:
metrics-endpoint:
interface: prometheus_scrape
optional: true
grafana-dashboard:
interface: grafana_dashboard
optional: true
resources:
penpot-image:
type: oci-image
description: OCI image for penpot
containers:
penpot:
resource: penpot-image
type: charm
base: [email protected]
build-base: [email protected]
platforms:
amd64:
parts:
charm:
build-packages:
- cargo
- libffi-dev
- libssl-dev
- pkg-config
- rustc
build-snaps:
- rustup
override-build: |
rustup default stable
craftctl default
assumes:
- juju >= 3.4