COMAC-109 Add support of openmme
The old mme is enabled by default.
To use openmme, set mme.type to openmme.
Change-Id: Id1029236af82f8f1abde7d25cee8cc70adfb8691
diff --git a/mcord-release/mcord-services/templates/hss.yaml b/mcord-release/mcord-services/templates/hss.yaml
index bc62dd2..a2478f8 100644
--- a/mcord-release/mcord-services/templates/hss.yaml
+++ b/mcord-release/mcord-services/templates/hss.yaml
@@ -248,9 +248,9 @@
- name: HSSDB_ADDR
value: {{ .Values.hssdb.name }}
- name: MME_HOST
- value: mme-0
+ value: {{ tuple "mme" "host" . | include "mcord-services.endpoint_lookup" | quote }}
- name: MME_REALM
- value: {{ .Values.mme.name }}.{{ .Values.global.namespace }}.{{ .Values.global.fqdn }}
+ value: {{ tuple "mme" "realm" . | include "mcord-services.endpoint_lookup" | quote }}
containers:
- name: hss
image: {{ .Values.hss.image }}
@@ -261,7 +261,7 @@
- name: HSSDB_ADDR
value: {{ .Values.hssdb.name | quote }}
- name: MME_IDENTITY
- value: {{ .Values.mme.name }}.{{ .Values.global.namespace }}.{{ .Values.global.fqdn }}
+ value: {{ tuple "mme" "identity" . | include "mcord-services.endpoint_lookup" | quote }}
command: ["bash", "-c", "/opt/c3po/hss/launch.sh; sleep 3600"]
resources:
limits: