This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
values.yaml
242 lines (217 loc) · 5.99 KB
/
values.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
global:
# if defined, create and/or reference db and monitoring services in the specified namespace;
# otherwise they create and/or referenced them in whatever the .Release namespace is
db:
namespace:
createNamespace: false
monitoring:
namespace:
createNamespace: false
kong:
enabled: false
useHostnames: true
tls:
enabled: false
clusterIssuer:
traefik:
enabled: false
useHostnames: true
tls:
enabled: false
clusterIssuer:
cassandra:
enabled: true
recordings:
enabled: false
track:
serviceProviderCalls: "0"
accountCalls: "0"
appCalls: "0"
affinity:
podAnnotations:
db:
# if true, create the db subchart
enabled: true
mysql:
secret: amFtYm9uZXM=
monitoring:
# if true, create the monitoring subchart
enabled: true
postgres:
secret: amFtYm9uZXM=
# (required) name of cloud provider: azure, aws, digitalocean, gcp, or none
cloud:
# set this to "1" if you are deploying on AWS and you are using IMDSv2
awsUseIMDSv2:
jwt:
secret: Rz11JS05NyNUZmZZZg==
# basic information that applies to all jambonz Node.js app
jambonz:
# a short identifier for the cluster, needed if multiple jambonz clusters will share the same redis
clusterId:
# these values direct which nodepool the SBC sip and rtp pods will be placed in.
# these pods have to be in special nodepools that use host network binding due to the nature
# of sip signaling and the current lack of support for sip in ingress controllers.
#
# Note: if you want to put sip and rtp into a single nodepool (e.g. to save cost on a smaller deployment)
# then set both labels below to the same value and both tolerations below to the same value
# and use those values when creating your single edge-facing nodepool when you spin up the cluster.
# (But, for production deployments, separate nodepools are recommended for sip and rtp, and this is the default setup below).
sbc:
sip:
nodeSelector:
label: voip-environment
value: sip
toleration: sip
podAnnotations:
ssl:
enabled: false
rtp:
nodeSelector:
label: voip-environment
value: rtp
toleration: rtp
podAnnotations:
storageClassName:
# list of extra initContainers
extraInitContainers:
# list of extra containers/sidecars
extraContainers:
# list of extra volumes
extraVolumes:
statefulset:
# enable it only if the recordings are also enabled
enabled: false
# match this value with the number of jambonz-rtp nodes
replicas: 1
# information used by the Node.js apps to write statsd to a telegraf listening instance
stats:
enabled: "1"
host: telegraf
port: "8125"
protocol: tcp
telegraf: "1"
sampleRate: "1"
# configuration information for rtpengine
rtpengine:
image: jambonz/rtpengine:0.1.6
imagePullPolicy: IfNotPresent
sidecarImage: jambonz/rtpengine-sidecar:0.8.5
sidecarImagePullPolicy: Always
dtmfLogPort: "22223"
loglevel: "5"
homerId: "11"
# used when global.recordings.enabled is true
recordings:
pvc: recordings-shared-volume
dir: /recordings
method: pcap
storage: 10Gi
# used by sidecar apps in sbc-sip and feature-server to connect locally to drachtio server
drachtio:
image: drachtio/drachtio-server:0.8.24
imagePullPolicy: IfNotPresent
host: "127.0.0.1"
port: "9022"
homerId: "10"
secret: Y3ltcnU=
# freeswitch configuration
freeswitch:
image: drachtio/drachtio-freeswitch-mrf:0.5.6
imagePullPolicy: IfNotPresent
args:
- freeswitch
- --codec-answer-generous
# mysql configuration used by Node.js app that need to connect
mysql:
image: mysql:5.7
host: mysql
database: jambones
user: jambones
# used when the rtp is in StatefulSet mode (sbc.rtp.statefulset.enabled is true)
storage: 10Gi
podAnnotations:
# redis configuration used by Node.js app that need to connect
redis:
image: redis:alpine
host: redis
port: "6379"
podAnnotations:
# configuration for jambonz-api-server
api:
image: jambonz/api-server:0.8.5
imagePullPolicy: Always
httpPort: "3000"
replicas: 1
podAnnotations:
# (required) hostname for the jambonz port ingress
hostname:
# defaults to http, if you have tls enabled change to https
# otherwise web to api connection will fail
protocol:
# jambonz-webapp configuration
webapp:
image: jambonz/webapp:0.8.5
imagePullPolicy: IfNotPresent
replicas: 1
podAnnotations:
# (required) hostname for the jambonz port ingress
hostname: webapp.jambonz.xyz
# set to true to disable recording in the portal
disableRecording: false
#
smpp:
image: jambonz/smpp-esme:0.8.5
imagePullPolicy: IfNotPresent
# sbc-inbound configuration
sbcInbound:
image: jambonz/sbc-inbound:0.8.5
imagePullPolicy: IfNotPresent
drachtioPort: "4000"
replicas: 1
podAnnotations:
# sbc-outbound configuration
sbcOutbound:
image: jambonz/sbc-outbound:0.8.5
imagePullPolicy: IfNotPresent
drachtioPort: "4000"
replicas: 1
podAnnotations:
# sbc-sip-sidecar configuration
sbcSipSidecar:
image: jambonz/sbc-sip-sidecar:0.8.5
imagePullPolicy: IfNotPresent
# sbc-call-router configuration
sbcCallRouter:
image: jambonz/sbc-call-router:0.8.5
imagePullPolicy: IfNotPresent
httpPort: "3000"
replicas: 1
# feature-server configuration
featureServer:
image: jambonz/feature-server:0.8.5-rc20
imagePullPolicy: IfNotPresent
httpPort: "3000"
drachtioConnection: "127.0.0.1:9022:cymru"
freeswitchConnection: "127.0.0.1:8021:JambonzR0ck$"
awsRegion: us-west-1
replicas: 1
otelSampleRate: 1.0
podAnnotations:
drachtio:
loglevel: info
sofiaLoglevel: "3"
# sbc-sip configuration
sbcSip:
loglevel: info
sofiaLoglevel: "3"
# sidecar to wait for database up
dbWaiter:
image: d3fk/kubectl:v1.18
# if you want to block bad sip actors, get an api key from apiban.org and put it below
apiban:
apiKey:
redisKey: "apiban:ips"
refreshInterval: "3600"
foreverBlockRanges: "128.90.0.0/16,162.142.125.0/24,198.235.24.0/24,205.210.31.0/24"
podAnnotations: