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=96858a9280d4b99771aa84b90dda9e9ba671b2db;hpb=e8aa4b7ae26bc9454ea735df6174e28bcff0610a;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 96858a92..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,28 +53,23 @@ {{- end -}} {{- end -}} - -{{- define "common.ingressurl.helm" -}} +{{- define "common.ingressurl.dashboard" -}} {{- if .Values.global -}} {{- if .Values.global.ingressurl -}} - {{- if .Values.global.ingressurl.helm -}} - {{- printf "%s" .Values.global.ingressurl.helm -}} + {{- if .Values.global.ingressurl.dashboard -}} + {{- printf "%s" .Values.global.ingressurl.dashboard -}} {{- else -}} - {{- printf "helm-entry" -}} + {{- printf "dashboard-entry" -}} {{- end -}} {{- else -}} - {{- printf "helm-entry" -}} + {{- printf "dashboard-entry" -}} {{- end -}} {{- else -}} - {{- printf "helm-entry" -}} + {{- printf "dashboard-entry" -}} {{- end -}} {{- end -}} - - - - ####################### Ingress Controller Ports ########################################### ## Currently the below values are hard-coded due to the fact that kong ingress controller # ## helm charts are not using this common template. We need to make sure that these values #