Remove MME pod dependency from OAISIM

Change-Id: I574d9b5238cf40e729197d35b71deffcdd393a24
diff --git a/oaisim/Chart.yaml b/oaisim/Chart.yaml
index 0917e4c..953f5b1 100644
--- a/oaisim/Chart.yaml
+++ b/oaisim/Chart.yaml
@@ -16,4 +16,4 @@
 appVersion: "1.0"
 description: openairinterface5g eNB and UE
 name: oaisim
-version: 0.1.6
+version: 0.1.7
diff --git a/oaisim/templates/statefulset-enb.yaml b/oaisim/templates/statefulset-enb.yaml
index c910685..a725cdf 100644
--- a/oaisim/templates/statefulset-enb.yaml
+++ b/oaisim/templates/statefulset-enb.yaml
@@ -40,6 +40,7 @@
       serviceAccountName: enb
       hostNetwork: true
       initContainers:
+      {{- if .Values.config.enb.mme.isLocal }}
         - name: enb-dep-check
           image: {{ .Values.images.tags.dep_check | quote }}
           imagePullPolicy: {{ .Values.images.pullPolicy }}
@@ -68,6 +69,7 @@
             - kubernetes-entrypoint
           volumeMounts:
             []
+      {{- end }}
         - name: enb-init
           image: {{ .Values.images.tags.enb | quote }}
           imagePullPolicy: {{ .Values.images.pullPolicy }}
diff --git a/oaisim/values.yaml b/oaisim/values.yaml
index f33db4f..4ba3de7 100644
--- a/oaisim/values.yaml
+++ b/oaisim/values.yaml
@@ -42,13 +42,15 @@
       # MME provies nodePort for eNB access, so 127.0.0.1 should work
       # in most cases unless using external MME.
       address: 127.0.0.1
+      # Set false if MME is located in a different cluster
+      isLocal: true
     networks:
       s1_mme:
         # Provide the interface used for S1_MME network.
-        interface: eno1
+        interface: enb
       s1u:
         # Provide the interface used for S1U network.
-        interface: s1u-enb
+        interface: enb
         port: 2152
   ue:
     # 1 UE is supported for now