Changes for Nucleus mme.
1. probe sctp module
2. Pass new environment variable to all containers withink mme pod
Change-Id: Ifb3f102e4d69f303792842e82a8047abe492a86a
diff --git a/omec/omec-control-plane/Chart.yaml b/omec/omec-control-plane/Chart.yaml
index c292a59..ea97091 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.27
+version: 0.1.28
diff --git a/omec/omec-control-plane/templates/statefulset-mme.yaml b/omec/omec-control-plane/templates/statefulset-mme.yaml
index aff54e9..3560344 100644
--- a/omec/omec-control-plane/templates/statefulset-mme.yaml
+++ b/omec/omec-control-plane/templates/statefulset-mme.yaml
@@ -47,10 +47,11 @@
runAsUser: 0
command: ["bash", "-xc"]
args:
- - >
+ - |
if chroot /mnt/host-rootfs modinfo nf_conntrack_proto_sctp > /dev/null 2>&1; then \
chroot /mnt/host-rootfs modprobe nf_conntrack_proto_sctp; \
fi;
+ chroot /mnt/host-rootfs modprobe tipc
volumeMounts:
- name: host-rootfs
mountPath: /mnt/host-rootfs
@@ -124,6 +125,8 @@
valueFrom:
fieldRef:
fieldPath: status.podIP
+ - name: MMERUNENV
+ value: "container"
volumeMounts:
- name: scripts
mountPath: /opt/mme/scripts/mme-run.sh
@@ -153,6 +156,9 @@
resources:
{{ toYaml .Values.resources.mme | indent 10 }}
{{- end }}
+ env:
+ - name: MMERUNENV
+ value: "container"
volumeMounts:
- name: scripts
mountPath: /opt/mme/scripts/mme-run.sh
@@ -182,6 +188,9 @@
resources:
{{ toYaml .Values.resources.mme | indent 10 }}
{{- end }}
+ env:
+ - name: MMERUNENV
+ value: "container"
volumeMounts:
- name: scripts
mountPath: /opt/mme/scripts/mme-run.sh
@@ -209,6 +218,9 @@
resources:
{{ toYaml .Values.resources.mme | indent 10 }}
{{- end }}
+ env:
+ - name: MMERUNENV
+ value: "container"
volumeMounts:
- name: scripts
mountPath: /opt/mme/scripts/mme-run.sh