EDGEPOD-310 - Configure Multiple PLMN Ids
Add multiple plmns in helm chart. MME can support multiple plmns.
Change-Id: Ie03f203d716b1435e1a2b17561b2f39a77dfaa91
diff --git a/omec/omec-control-plane/Chart.yaml b/omec/omec-control-plane/Chart.yaml
index 1cc0cba..c292a59 100644
--- a/omec/omec-control-plane/Chart.yaml
+++ b/omec/omec-control-plane/Chart.yaml
@@ -19,4 +19,4 @@
name: omec-control-plane
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.1.26
+version: 0.1.27
diff --git a/omec/omec-control-plane/templates/statefulset-mme.yaml b/omec/omec-control-plane/templates/statefulset-mme.yaml
index 71cf8a1..aff54e9 100644
--- a/omec/omec-control-plane/templates/statefulset-mme.yaml
+++ b/omec/omec-control-plane/templates/statefulset-mme.yaml
@@ -119,6 +119,11 @@
resources:
{{ toYaml .Values.resources.mme | indent 10 }}
{{- end }}
+ env:
+ - name: POD_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
volumeMounts:
- name: scripts
mountPath: /opt/mme/scripts/mme-run.sh
@@ -156,6 +161,8 @@
mountPath: /opt/mme/config/shared
- name: shared-app
mountPath: /tmp
+ - name: configs
+ mountPath: /opt/mme/config
{{- if .Values.config.coreDump.enabled }}
- name: coredump
mountPath: /tmp/coredump
diff --git a/omec/omec-control-plane/values.yaml b/omec/omec-control-plane/values.yaml
index 68dfea5..6f20063 100644
--- a/omec/omec-control-plane/values.yaml
+++ b/omec/omec-control-plane/values.yaml
@@ -209,6 +209,10 @@
dig1: 0
dig2: 1
dig3: -1
+ plmnlist:
+ #plmn1 - aether common plmn, plmn2 is for comac-in-box
+ plmn1: "mcc=315,mnc=010"
+ plmn2: "mcc=208,mnc=01"
s1ap:
sctp_port: 36412
sctp_port_external: 36412