-
Notifications
You must be signed in to change notification settings - Fork 5
/
usekeeper.component.yaml
136 lines (136 loc) · 3.18 KB
/
usekeeper.component.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
apiVersion: oda.tmforum.org/v1alpha1
kind: component
metadata:
name: usekeeper
labels:
oda.tmforum.org/componentName: usekeeper
spec:
type: ocs
selector:
matchLabels:
oda.tmforum.org/componentName: usekeeper
componentKinds:
- group: core
kind: Service
- group: apps
kind: Deployment
version: "1.0.0"
description: "SigScale Online Charging System (OCS)"
maintainers:
- name: SigScale
email: [email protected]
owners:
- name: SigScale
email: [email protected]
coreFunction:
exposedAPIs:
- name: party
specification: https://github.com/tmforum-apis/TMF632_PartyManagement/blob/master/TMF632-Party-v4.0.0.swagger.json
implementation: usekeeper-service
path: /party/v4/individual
port: 8080
- name: usageSpecification
specification: https://github.com/tmforum-apis/TMF635_UsageManagement/blob/master/TMF635_UsageManagement_swagger_AP1144.json
implementation: usekeeper-service
path: /usageManagement/v4/usageSpecification
port: 8080
- name: usageSpecification
specification: https://github.com/tmforum-apis/TMF635_UsageManagement/blob/master/TMF635_UsageManagement_swagger_AP1144.json
implementation: usekeeper-service
path: /usageManagement/v4/usage
port: 8080
dependantAPIs: []
eventNotification:
publishedEvents: []
subscribedEvents: []
management: []
security:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: usekeeper
labels:
app.kubernetes.io/name: ocs
app: usekeeper
oda.tmforum.org/componentName: usekeeper
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: ocs
template:
metadata:
labels:
app.kubernetes.io/name: ocs
app.kubernetes.io/component: 3gpp-ocf
app.kubernetes.io/component: rest
app: usekeeper
spec:
securityContext:
fsGroup: 1000
initContainers:
- name: ocs-install
image: sigscale/ocs
command:
- sh
- bin/initialize
stdin: true
tty: true
volumeMounts:
- mountPath: /home/otp/db
name: db
containers:
- name: ocs
image: sigscale/ocs
ports:
- name: diameter
protocol: TCP
containerPort: 3868
- name: radius
protocol: UDP
containerPort: 1812
- name: radius-acct
protocol: UDP
containerPort: 1813
- name: http
protocol: TCP
containerPort: 8080
volumeMounts:
- mountPath: /home/otp/db
name: db
volumes:
- name: db
emptyDir: {}
---
apiVersion: v1
kind: Service
metadata:
name: usekeeper-service
labels:
app: usekeeper
oda.tmforum.org/componentName: usekeeper
spec:
ports:
- port: 8080
targetPort: http
name: usekeeper-service
type: LoadBalancer
selector:
app: usekeeper
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ocs-data
spec:
resources:
requests:
storage: 20Gi
accessModes:
- ReadWriteOnce