-
Notifications
You must be signed in to change notification settings - Fork 0
/
charmcraft.yaml
107 lines (95 loc) · 2.6 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
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
name: identity-platform-admin-ui
type: charm
summary: Identity and user management system
description: |
Charmed Operator for Canonical Identity Platform's Admin Interface.
The Identity Platform Admin UI provides users a graphic interface
to display the real-time status of the Identity Platform, as well
as to make granular adjustments.
links:
source: https://github.com/canonical/identity-platform-admin-ui-operator
issues: https://github.com/canonical/identity-platform-admin-ui-operator/issues
assumes:
- k8s-api
containers:
admin-ui:
resource: oci-image
resources:
oci-image:
type: oci-image
description: Identity Platform Admin UI oci-image
upstream-source: ghcr.io/canonical/identity-platform-admin-ui:v1.14.0
requires:
hydra-endpoint-info:
interface: hydra_endpoints
limit: 1
description: |
Receive hydra's endpoint information.
kratos-info:
interface: kratos_info
limit: 1
description: |
Receives a series of kratos' endpoint information.
oathkeeper-info:
interface: oathkeeper_info
limit: 1
ingress:
interface: ingress
description: |
Receives ingress url.
logging:
interface: loki_push_api
limit: 1
tracing:
interface: tracing
limit: 1
openfga:
interface: openfga
limit: 1
description: |
Receive OpenFGA server's url and store information.
oauth:
interface: oauth
limit: 1
description: |
Receive oauth server's info and a set of client credentials.
This integration can be used to integrate the admin UI with an OAuth2/OIDC Provider.
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:
metrics-endpoint:
interface: prometheus_scrape
description: |
Provides application metrics to Prometheus deployment
grafana-dashboard:
description: |
Forwards dashboards to Grafana deployment
interface: grafana_dashboard
peers:
identity-platform-admin-ui:
interface: identity_platform_admin_ui_peers
config:
options:
log_level:
description: |
Minimum log severity level. Acceptable values are: "info", "debug", "warning", "error"
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
- "pydantic>=2"