Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Control loglevel, min/default expires interval of sbc-sip-sidecar via helm chart values #36

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ helm uninstall -n <namespace> <release-name>
|sbcOutbound.drachtioPort|port to listen on for outbound connections from drachtio|"4000"|
|sbcSipSidecar.image|sbc-sip-sidecar image|jambonz/sbc-sip-sidecar:latest|
|sbcSipSidecar.imagePullPolicy|sbc-sip-sidecar image pull policy|"Always"|
|sbcSipSidecar.loglevel|sbc-sip-sidecar log level |"info"|
|sbcSipSidecar.outboundRegister.minExpiresInterval| minimum expires interval for outbound registrations (in seconds) | 30|
|sbcSipSidecar.outboundRegister.defaultExpiresInterval| default expires interval for outbound registrations (in seconds). Will be applied if the server does not provide its own expire data, or if the data provided is smaller than the minimum expires interval | 3600 |
|sbcCallRouter.image|sbc-call-router image|jambonz/sbc-call-router:latest|
|sbcCallRouter.imagePullPolicy|sbc-call-router image pull policy|"Always"|
|sbcCallRouter.drachtioPort|port to listen on for http connections from drachtio|"3000"|
Expand Down
6 changes: 5 additions & 1 deletion templates/sbc-sip-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ spec:
- name: JAMBONES_REGBOT_CONTACT_USE_IP
value: "1"
- name: JAMBONES_LOGLEVEL
value: info
value: {{ .Values.sbcSipSidecar.loglevel }}
- name: JAMBONES_REDIS_HOST
value: redis.{{ default .Release.Namespace .Values.global.db.namespace }}
- name: JAMBONES_REDIS_PORT
Expand Down Expand Up @@ -190,6 +190,10 @@ spec:
secretKeyRef:
name: jambonz-secrets
key: JWT_SECRET
- name: JAMBONES_REGBOT_MIN_EXPIRES_INTERVAL
value: {{ .Values.sbcSipSidecar.outboundRegister.minExpiresInterval | quote }}
- name: JAMBONES_REGBOT_DEFAULT_EXPIRES_INTERVAL
value: {{ .Values.sbcSipSidecar.outboundRegister.defaultExpiresInterval | quote }}
- name: smpp
image: {{ .Values.smpp.image }}
imagePullPolicy: {{ default "IfNotPresent" .Values.smpp.imagePullPolicy }}
Expand Down
4 changes: 4 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ sbcOutbound:
sbcSipSidecar:
image: jambonz/sbc-sip-sidecar:0.8.5
imagePullPolicy: IfNotPresent
loglevel: info
outboundRegister:
minExpiresInterval: 30
defaultExpiresInterval: 3600

# sbc-call-router configuration
sbcCallRouter:
Expand Down