X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-aux%2F80-Auxiliary-Functions%2Fhelm%2Fdashboard%2Ftemplates%2F_genurl.tpl;h=5684f21f95a92bfaa83a8d9fe57c01957dc3c6ab;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=1aba1a6d26e590df79b57d37cec8af094bc37c73;hpb=bb6097c9e2fa2918028892b2c5e675841029bee9;p=it%2Fdep.git diff --git a/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/_genurl.tpl b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/_genurl.tpl index 1aba1a6d..5684f21f 100644 --- a/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/_genurl.tpl +++ b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/_genurl.tpl @@ -21,37 +21,38 @@ Generate the URLS of the endpoints. {{- define "dashboard.prefix.a1mediator" -}} - {{- $ingress := ( include "common.ingressurl.ricplt" . ) -}} - {{- if .Values.dashboard.properties.a1med.url.prefix -}} - {{- printf "%s" .Values.dashboard.properties.a1med.url.prefix -}} + {{- $ingress := ( include "common.ingressurl.ric" . ) -}} + {{- if .Values.dashboard.a1med.url.prefix -}} + {{- printf "%s" .Values.dashboard.a1med.url.prefix -}} {{- else -}} {{- printf "http://%s/a1mediator" $ingress -}} {{- end -}} {{- end -}} {{- define "dashboard.prefix.anrxapp" -}} - {{- $ingress := ( include "common.ingressurl.ricxapp" . ) -}} - {{- if .Values.dashboard.properties.anrxapp.url.prefix -}} - {{- printf "%s" .Values.dashboard.properties.anrxapp.url.prefix -}} + {{- $ingress := ( include "common.ingressurl.ric" . ) -}} + {{- if .Values.dashboard.anrxapp.url.prefix -}} + {{- printf "%s" .Values.dashboard.anrxapp.url.prefix -}} {{- else -}} {{- printf "http://%s/anr" $ingress -}} {{- end -}} {{- end -}} {{- define "dashboard.prefix.e2mgr" -}} - {{- $ingress := ( include "common.ingressurl.ricplt" . ) -}} - {{- if .Values.dashboard.properties.e2mgr.url.prefix -}} - {{- printf "%s" .Values.dashboard.properties.e2mgr.url.prefix -}} + {{- $ingress := ( include "common.ingressurl.ric" . ) -}} + {{- if .Values.dashboard.e2mgr.url.prefix -}} + {{- printf "%s" .Values.dashboard.e2mgr.url.prefix -}} {{- else -}} {{- printf "http://%s/e2mgr" $ingress -}} {{- end -}} {{- end -}} {{- define "dashboard.prefix.appmgr" -}} - {{- $ingress := ( include "common.ingressurl.ricplt" . ) -}} - {{- if .Values.dashboard.properties.appmgr.url.prefix -}} - {{- printf "%s" .Values.dashboard.properties.appmgr.url.prefix -}} + {{- $ingress := ( include "common.ingressurl.ric" . ) -}} + {{- if .Values.dashboard.appmgr.url.prefix -}} + {{- printf "%s" .Values.dashboard.appmgr.url.prefix -}} {{- else -}} {{- printf "http://%s/appmgr" $ingress -}} {{- end -}} {{- end -}} +