Moving dev back to LF Gerrit
[it/dep.git] / ric-common / Common-Template / helm / ric-common / templates / _ingresscontroller.tpl
index 6bc1a69..2d75ee7 100644 (file)
   {{- end -}}
 {{- end -}}
 
+{{- define "common.ingressurl.dashboard" -}}
+  {{- if .Values.global -}}
+    {{- if .Values.global.ingressurl -}}
+      {{- if .Values.global.ingressurl.dashboard -}}
+        {{- printf "%s" .Values.global.ingressurl.dashboard -}}
+      {{- else -}}
+        {{- printf "dashboard-entry" -}}
+      {{- end -}}
+    {{- else -}}
+      {{- printf "dashboard-entry" -}}
+    {{- end -}}
+  {{- else -}}
+    {{- printf "dashboard-entry" -}}
+  {{- end -}}
+{{- end -}}
 
 
 ####################### Ingress Controller Ports ###########################################