AETHER-357 Add ability to run control plane components selectively
Change-Id: I73cd5bab0fa624cf6cd3bb26b465f18c4ab5fc64
diff --git a/omec/omec-control-plane/templates/bin/_hss-bootstrap.sh.tpl b/omec/omec-control-plane/templates/bin/_hss-bootstrap.sh.tpl
index 6b6cb9e..469424d 100644
--- a/omec/omec-control-plane/templates/bin/_hss-bootstrap.sh.tpl
+++ b/omec/omec-control-plane/templates/bin/_hss-bootstrap.sh.tpl
@@ -85,9 +85,6 @@
echo -e "Added mme $id\n"
}
-mme_identity={{ tuple "mme" "identity" . | include "omec-control-plane.diameter_endpoint" }}
-mme_realm={{ tuple "mme" "realm" . | include "omec-control-plane.diameter_endpoint" }}
-
{{- range .Values.config.hss.bootstrap.users }}
provision_users \
{{ .count }} \
@@ -113,15 +110,15 @@
{{ $.Values.config.hss.hssdb }} \
$mme_identity \
$mme_realm \
- {{ .staticAddr }}
+ {{ .staticAddr }}
{{- end }}
{{- range .Values.config.hss.bootstrap.mmes }}
provision_mme \
{{ .id }} \
{{ .isdn }} \
- $mme_identity \
- $mme_realm \
+ {{ .mme_identity }} \
+ {{ .mme_realm }} \
{{ .unreachability }} \
{{ $.Values.config.hss.hssdb }}
{{- end }}