-
Notifications
You must be signed in to change notification settings - Fork 2
/
charmcraft.yaml
88 lines (79 loc) · 1.96 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-amf-k8s
summary: A Charmed Operator for SD-Core's Access and Mobility Management Function (AMF).
description: |
A Charmed Operator for SD-Core's Access and Mobility Management Function (AMF).
links:
website: https://charmhub.io/sdcore-amf-k8s
source: https://github.com/canonical/sdcore-amf-k8s-operator
issues: https://github.com/canonical/sdcore-amf-k8s-operator/issues
containers:
amf:
resource: amf-image
mounts:
- storage: config
location: /free5gc/config
- storage: certs
location: /support/TLS
resources:
amf-image:
type: oci-image
description: OCI image for SD-Core amf
upstream-source: ghcr.io/canonical/sdcore-amf:1.4.0
storage:
config:
type: filesystem
minimum-size: 1M
certs:
type: filesystem
minimum-size: 1M
assumes:
- k8s-api
- juju >= 3.4
provides:
metrics-endpoint:
interface: prometheus_scrape
fiveg-n2:
interface: fiveg_n2
requires:
fiveg_nrf:
interface: fiveg_nrf
database:
interface: mongodb_client
certificates:
interface: tls-certificates
logging:
interface: loki_push_api
type: charm
bases:
- build-on:
- name: ubuntu
channel: "22.04"
run-on:
- name: ubuntu
channel: "22.04"
parts:
charm:
build-packages:
- cargo
- libffi-dev
- libssl-dev
- pkg-config
- rustc
config:
options:
dnn:
type: string
default: internet
description: Data Network Name (DNN)
external-amf-ip:
type: string
description: |-
Externally accessible IP for the AMF.
If not provided, this will default to the LoadBalancer Service IP.
external-amf-hostname:
type: string
description: |-
Externally accessible FQDN for the AMF.
If not provided, this will default to the LoadBalancer Service hostname
if available. If that is not available, it will default to the internal
Kubernetes FQDN of the service.