-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcharmcraft.yaml
77 lines (69 loc) · 1.52 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
name: sdcore-nrf-k8s
summary: Charmed Operator for the SD-Core Network Repository Function (NRF).
description: Charmed Operator for the SD-Core Network Repository Function (NRF).
links:
website:
- https://charmhub.io/sdcore-nrf-k8s
source:
- https://github.com/canonical/sdcore-nrf-k8s-operator
issues:
- https://github.com/canonical/sdcore-nrf-k8s-operator/issues
containers:
nrf:
resource: nrf-image
mounts:
- storage: config
location: /etc/nrf/
- storage: certs
location: /support/TLS
resources:
nrf-image:
type: oci-image
description: OCI image for SD-Core nrf
upstream-source: ghcr.io/canonical/sdcore-nrf:1.6.1
storage:
config:
type: filesystem
minimum-size: 1M
certs:
type: filesystem
minimum-size: 1M
requires:
database:
interface: mongodb_client
certificates:
interface: tls-certificates
sdcore_config:
interface: sdcore_config
logging:
interface: loki_push_api
provides:
fiveg_nrf:
interface: fiveg_nrf
metrics-endpoint:
interface: prometheus_scrape
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