[EDGEPOD-188] Update mme-exporter chart to be able to set TAC/name with configmap
Change-Id: Ie9b7d622fb948e66b0b5a3768cfba63d49609390
diff --git a/omec/omec-control-plane/templates/statefulset-mme.yaml b/omec/omec-control-plane/templates/statefulset-mme.yaml
index 40e3d57..71cf8a1 100644
--- a/omec/omec-control-plane/templates/statefulset-mme.yaml
+++ b/omec/omec-control-plane/templates/statefulset-mme.yaml
@@ -222,12 +222,17 @@
privileged: true
command: ["bash", "-xc"]
args:
- - until [ -e /tmp/unix_socket ]; do sleep 1; done; chmod 777 /tmp/unix_socket; while true; do python3 monitor_client.py; sleep 1; done
+ - cp /opt/mme/config/shared/mme_exporter.json /openmme/conf/mme_exporter.json;
+ until [ -e /tmp/unix_socket ]; do sleep 1; done;
+ chmod 777 /tmp/unix_socket;
+ while true; do python3 monitor_client.py; sleep 1; done;
{{- if .Values.resources.enabled }}
resources:
{{ toYaml .Values.resources.mme | indent 10 }}
{{- end }}
volumeMounts:
+ - name: shared-data
+ mountPath: /opt/mme/config/shared
- name: shared-app
mountPath: /tmp
{{- end }}