apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ include "dashboard.fullname" . }}-appconfig
+ name: {{ include "common.configmapname.dashboard" . }}-appconfig
data:
# this key becomes the filename when mounted
application.properties: |
# appconfig.yaml
- server.port = {{ .Values.dashboard.server.port }}
- a1med.url = {{ .Values.dashboard.properties.a1med.url }}
- anrxapp.url = {{ .Values.dashboard.properties.anrxapp.url }}
- e2mgr.url = {{ .Values.dashboard.properties.e2mgr.url }}
- {{- if .Values.dashboard.properties.e2mgr.mock.enabled }}
- # mock names for R1 testing, removing this entry disables the mock
- e2mgr.mock.rannames = {{ .Values.dashboard.properties.e2mgr.mock.rannames }}
- {{- end }}
- xappmgr.url = {{ .Values.dashboard.properties.xappmgr.url }}
+ server.port = {{ include "common.serviceport.dashboard.container" . }}
+ a1med.url.prefix = {{ include "dashboard.prefix.a1mediator" . }}
+ a1med.url.suffix = {{ .Values.dashboard.properties.a1med.url.suffix }}
+ anrxapp.url.prefix = {{ include "dashboard.prefix.anrxapp" . }}
+ anrxapp.url.suffix = {{ .Values.dashboard.properties.anrxapp.url.suffix }}
+ appmgr.url.prefix = {{ include "dashboard.prefix.appmgr" . }}
+ appmgr.url.suffix = {{ .Values.dashboard.properties.appmgr.url.suffix }}
+ e2mgr.url.prefix = {{ include "dashboard.prefix.e2mgr" . }}
+ e2mgr.url.suffix = {{ .Values.dashboard.properties.e2mgr.url.suffix }}