telephoneorg / docker-kamailio

Kamailio Dockerized for Kubernetes
25 stars 15 forks source link

ENV variables not defined in the ConfingMap though they exits in yaml file #4

Open sashker opened 6 years ago

sashker commented 6 years ago

Hello. I've noticed that to variables presented in the kubernetes/local.yaml

- name: FREESWITCH_SYNC_SOURCE
          valueFrom:
            configMapKeyRef:
              name: kamailio
              key: freeswitch.sync.source
 - name: FREESWITCH_SYNC_ARGS
           valueFrom:
            configMapKeyRef:
              name: kamailio
              key: freeswitch.sync.args

But they are not defined in the ConfigMap definition:

data:
  kamailio.log.level: info
  kamailio.log.color: 'true'
  rabbitmq.hosts: rabbitmq
  kamailio.shm-memory: '128'
  kamailio.pkg-memory: '8'
  kamailio.enable-roles: websockets,message,presence_query,presence_notify_sync,registrar_sync