X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fenrichmentservice%2Ftemplates%2Fingress.yaml;fp=nonrtric%2Fhelm%2Fenrichmentservice%2Ftemplates%2Fingress.yaml;h=f75202219d6df929d4bbf123834218bd8abc39b4;hb=30bf13193742047dcf72c67d8efc46570aa568b5;hp=e679d1649470ccefaaa394b4afb7d6cd633d8128;hpb=d056e448f6c258a8298dab80f940eacf4a0938a8;p=it%2Fdep.git diff --git a/nonrtric/helm/enrichmentservice/templates/ingress.yaml b/nonrtric/helm/enrichmentservice/templates/ingress.yaml index e679d164..f7520221 100644 --- a/nonrtric/helm/enrichmentservice/templates/ingress.yaml +++ b/nonrtric/helm/enrichmentservice/templates/ingress.yaml @@ -1,3 +1,4 @@ +{{/* ################################################################################ # Copyright (c) 2021 Nordix Foundation. # # # @@ -13,7 +14,9 @@ # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################ +*/}} +{{- if .Values.enrichmentservice.ingress.enabled -}} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: @@ -29,13 +32,14 @@ spec: backend: service: name: {{ include "common.name.enrichmentservice" . }} - port: + port: number: {{ .Values.enrichmentservice.service.internalPort1 }} pathType: Prefix path: "/data-consumer" backend: service: name: {{ include "common.name.enrichmentservice" . }} - port: + port: number: {{ .Values.enrichmentservice.service.internalPort1 }} pathType: Prefix +{{- end -}} \ No newline at end of file