X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-common%2FCommon-Template%2Fhelm%2Fric-common%2Ftemplates%2F_ingresscontroller.tpl;h=2d75ee725c565b76be9f74ae5f070784d5e3f9af;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=6bc1a696ca4dd2c537ef3da40bf37d0e28b11094;hpb=2df61c2fcf64b32ecf7f064ef9cbbe6b54a15bc0;p=it%2Fdep.git diff --git a/ric-common/Common-Template/helm/ric-common/templates/_ingresscontroller.tpl b/ric-common/Common-Template/helm/ric-common/templates/_ingresscontroller.tpl index 6bc1a696..2d75ee72 100644 --- a/ric-common/Common-Template/helm/ric-common/templates/_ingresscontroller.tpl +++ b/ric-common/Common-Template/helm/ric-common/templates/_ingresscontroller.tpl @@ -53,6 +53,21 @@ {{- 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 ###########################################