telephony-web: hostNetwork + node affinity with asterisk for ARI localhost access
This commit is contained in:
@@ -48,7 +48,7 @@ data:
|
||||
"StatusCallbackUrl": "https://telephony.flowercore.io/api/twilio/webhooks/voice/status"
|
||||
},
|
||||
"Asterisk": {
|
||||
"BaseUrl": "http://asterisk-ari:8088",
|
||||
"BaseUrl": "http://localhost:8088",
|
||||
"Username": "flowercore",
|
||||
"Password": "bluejay-asterisk-ari",
|
||||
"Application": "flowercore-pbx",
|
||||
@@ -57,7 +57,7 @@ data:
|
||||
}
|
||||
},
|
||||
"Ari": {
|
||||
"BaseUrl": "http://asterisk-ari:8088",
|
||||
"BaseUrl": "http://localhost:8088",
|
||||
"Username": "flowercore",
|
||||
"Password": "bluejay-asterisk-ari",
|
||||
"Application": "flowercore-pbx",
|
||||
@@ -121,6 +121,15 @@ spec:
|
||||
volumeMounts:
|
||||
- name: telephony-data
|
||||
mountPath: /data
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
affinity:
|
||||
podAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchLabels:
|
||||
app: asterisk
|
||||
topologyKey: kubernetes.io/hostname
|
||||
containers:
|
||||
- name: telephony-web
|
||||
image: localhost/fc-telephony-web:latest
|
||||
@@ -337,3 +346,4 @@ spec:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user