COMAC-193 Load nf_conntrack_proto_sctp for MME

Change-Id: Icf47892550cee4d1c8e9f950a8cb18fff1099548
diff --git a/omec/omec-control-plane/Chart.yaml b/omec/omec-control-plane/Chart.yaml
index 80436f2..28176b5 100644
--- a/omec/omec-control-plane/Chart.yaml
+++ b/omec/omec-control-plane/Chart.yaml
@@ -18,4 +18,4 @@
 appVersion: "1.0"
 description: OMEC control plane services
 name: omec-control-plane
-version: 0.1.6
+version: 0.1.7
diff --git a/omec/omec-control-plane/templates/statefulset-mme.yaml b/omec/omec-control-plane/templates/statefulset-mme.yaml
index f478cb8..f0e7290 100644
--- a/omec/omec-control-plane/templates/statefulset-mme.yaml
+++ b/omec/omec-control-plane/templates/statefulset-mme.yaml
@@ -59,6 +59,21 @@
           mountPath: /opt/mme/scripts/mme-ip.sh
           subPath: mme-ip.sh
     {{- end }}
+      - name: mme-load-sctp-module
+        image: {{ .Values.images.tags.init | quote }}
+        imagePullPolicy: {{ .Values.images.pullPolicy }}
+        securityContext:
+          privileged: true
+          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
+        volumeMounts:
+        - name: host-rootfs
+          mountPath: /mnt/host-rootfs
       - name: mme-dep-check
         image: {{ .Values.images.tags.depCheck | quote }}
         imagePullPolicy: {{ .Values.images.pullPolicy }}
@@ -191,3 +206,6 @@
         emptyDir: {}
       - name: shared-app
         emptyDir: {}
+      - name: host-rootfs
+        hostPath:
+          path: /