-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcharmcraft.yaml
88 lines (78 loc) · 1.75 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
name: sdcore-udr-k8s
summary: A Charmed Operator for SD-Core's UDR component.
description: |
A Charmed Operator for SD-Core's Unified Data Repository (UDR) component.
links:
website:
- https://charmhub.io/sdcore-udr-k8s
source:
- https://github.com/canonical/sdcore-udr-k8s-operator
issues:
- https://github.com/canonical/sdcore-udr-k8s-operator/issues
containers:
udr:
resource: udr-image
mounts:
- storage: config
location: /free5gc/config/
- storage: certs
location: /support/TLS
requires:
common_database:
interface: mongodb_client
auth_database:
interface: mongodb_client
fiveg_nrf:
interface: fiveg_nrf
certificates:
interface: tls-certificates
logging:
interface: loki_push_api
sdcore_config:
interface: sdcore_config
provides:
metrics-endpoint:
interface: prometheus_scrape
resources:
udr-image:
type: oci-image
description: OCI image for SD-Core's UDR
upstream-source: ghcr.io/canonical/sdcore-udr:1.6.1
storage:
config:
type: filesystem
minimum-size: 1M
certs:
type: filesystem
minimum-size: 1M
assumes:
- k8s-api
- juju >= 3.4
type: charm
base: [email protected]
build-base: [email protected]
platforms:
amd64:
parts:
charm:
source: .
plugin: charm
charm-requirements:
- requirements.txt
build-packages:
- libffi-dev
- libssl-dev
- pkg-config
build-snaps:
- astral-uv
- rustup
override-build: |
rustup default stable
uv export --frozen --no-dev -o requirements.txt
craftctl default
config:
options:
log-level:
type: string
default: info
description: Log level for the UDR. One of `debug`, `info`, `warn`, `error`, `fatal`, `panic`.