-
Notifications
You must be signed in to change notification settings - Fork 1
/
charmcraft.yaml
83 lines (74 loc) · 2.1 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
# This file configures Charmcraft.
# See https://juju.is/docs/sdk/charmcraft-config for guidance.
name: identity-platform-login-ui-operator
type: charm
summary: Operator for Identity platform UI backend and proxy
description: |
Operator for Identity platform UI backend and proxy
links:
documentation: https://discourse.charmhub.io/t/identity-platform-login-ui-docs-index/12169
source: https://github.com/canonical/identity-platform-login-ui-operator
issues: https://github.com/canonical/identity-platform-login-ui-operator/issues
assumes:
- k8s-api
containers:
login-ui:
resource: oci-image
# This field populates the Resources tab on Charmhub.
resources:
oci-image:
type: oci-image
description: OCI image for login-ui
upstream-source: ghcr.io/canonical/identity-platform-login-ui:v0.18.1
requires:
ingress:
interface: ingress
kratos-info:
interface: kratos_info
limit: 1
hydra-endpoint-info:
interface: hydra_endpoints
limit: 1
logging:
interface: loki_push_api
limit: 1
tracing:
interface: tracing
limit: 1
receive-ca-cert:
interface: certificate_transfer
description: |
Receive a CA cert.
This relation can be used with a local CA to obtain the CA cert that was used to sign proxied
endpoints.
provides:
ui-endpoint-info:
interface: login_ui_endpoints
description: |
Provides the Identity Platform Login UI API endpoints to a related application
metrics-endpoint:
interface: prometheus_scrape
description: |
Provides application metrics to COS Prometheus instance
grafana-dashboard:
description: |
Forwards the built-in grafana dashboard(s) for monitoring identity-platform-login-ui-operator.
interface: grafana_dashboard
config:
options:
log_level:
description: |
Acceptable values are: "info", "debug", "warning", "error" and "critical"
default: "info"
type: string
bases:
- build-on:
- name: ubuntu
channel: "22.04"
run-on:
- name: ubuntu
channel: "22.04"
parts:
charm:
charm-binary-python-packages:
- jsonschema